Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007961, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004522/0.004523, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7875/0.7875, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 8.562 kB / 0.5041 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4237, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1689/0.5927, allocations: 157.1 MB / 0.7371 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004875/0.5976, allocations: 4.482 MB / 0.7415 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.5979, allocations: 7.938 kB / 0.7415 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.5983, allocations: 103.3 kB / 0.7416 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.599, allocations: 310.7 kB / 0.7419 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006416/0.5997, allocations: 254 kB / 0.7421 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000745/0.6004, allocations: 0.799 MB / 0.7429 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.6007, allocations: 173.5 kB / 0.7431 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008881/0.6016, allocations: 418.4 kB / 0.7435 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.6019, allocations: 203.2 kB / 0.7437 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.6019, allocations: 8 kB / 0.7437 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.6021, allocations: 67.94 kB / 0.7437 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.6022, allocations: 79.78 kB / 0.7438 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.6023, allocations: 133.1 kB / 0.7439 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.6027, allocations: 283 kB / 0.7442 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6027, allocations: 4 kB / 0.7442 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6027, allocations: 0 / 0.7442 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.6027, allocations: 3.938 kB / 0.7442 GB, free: 11.48 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007163/0.6034, allocations: 0.502 MB / 0.7447 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6035, allocations: 12.03 kB / 0.7447 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.6035, allocations: 46.55 kB / 0.7448 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.6036, allocations: 27.72 kB / 0.7448 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.6039, allocations: 272 kB / 0.7451 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.6039, allocations: 20 kB / 0.7451 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.604, allocations: 16 kB / 0.7451 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.6044, allocations: 278 kB / 0.7454 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6044, allocations: 0 / 0.7454 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.6045, allocations: 8 kB / 0.7454 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.6045, allocations: 4 kB / 0.7454 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.6048, allocations: 159.8 kB / 0.7455 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.606, allocations: 1.371 MB / 0.7469 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.6063, allocations: 191.6 kB / 0.747 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.6065, allocations: 101.1 kB / 0.7471 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.6069, allocations: 133 kB / 0.7473 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6069, allocations: 42.5 kB / 0.7473 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.6069, allocations: 0 / 0.7473 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005949/0.6075, allocations: 221.7 kB / 0.7475 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/0.6076, allocations: 187.9 kB / 0.7477 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.6079, allocations: 299.1 kB / 0.748 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.6079, allocations: 25.7 kB / 0.748 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.608, allocations: 143.9 kB / 0.7481 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.608, allocations: 43.45 kB / 0.7482 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.6081, allocations: 17.72 kB / 0.7482 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6082, allocations: 330.8 kB / 0.7485 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.6083, allocations: 55.95 kB / 0.7486 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.6085, allocations: 119.6 kB / 0.7487 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.6088, allocations: 166.7 kB / 0.7488 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6088, allocations: 0 / 0.7488 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003662/0.6092, allocations: 209.2 kB / 0.749 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.6092, allocations: 6.031 kB / 0.749 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6092, allocations: 4 kB / 0.7491 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.6093, allocations: 7.938 kB / 0.7491 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.6094, allocations: 35.91 kB / 0.7491 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6094, allocations: 4 kB / 0.7491 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.6096, allocations: 31.95 kB / 0.7491 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.6096, allocations: 8 kB / 0.7491 GB, free: 5.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.6097, allocations: 155.2 kB / 0.7493 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6099, allocations: 23.72 kB / 0.7493 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.6102, allocations: 155.2 kB / 0.7495 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6102, allocations: 0 / 0.7495 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6102, allocations: 4 kB / 0.7495 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6102, allocations: 0 / 0.7495 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.611, allocations: 0.7729 MB / 0.7502 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.611, allocations: 0 / 0.7502 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6111, allocations: 31.91 kB / 0.7502 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6111, allocations: 4 kB / 0.7502 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.6112, allocations: 4 kB / 0.7503 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6112, allocations: 4 kB / 0.7503 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6112, allocations: 3.938 kB / 0.7503 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006411/0.6118, allocations: 351.5 kB / 0.7506 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.6119, allocations: 116.8 kB / 0.7507 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.612, allocations: 4 kB / 0.7507 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.6122, allocations: 11.98 kB / 0.7507 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.6123, allocations: 19.98 kB / 0.7507 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.6123, allocations: 4 kB / 0.7507 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001728/0.6125, allocations: 209.9 kB / 0.7509 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6125, allocations: 0 / 0.7509 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003254/0.6128, allocations: 55.94 kB / 0.751 GB, free: 3.938 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009427/0.6138, allocations: 0.921 MB / 0.7519 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003378/0.6141, allocations: 132 kB / 0.752 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.6141, allocations: 3.938 kB / 0.752 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6143, allocations: 67.89 kB / 0.7521 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.6151, allocations: 124.4 kB / 0.7522 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.618, allocations: 2.713 MB / 0.7549 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.6182, allocations: 0.7557 MB / 0.7556 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001418/0.6184, allocations: 50.25 kB / 0.7556 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.6185, allocations: 67.41 kB / 0.7557 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6185, allocations: 0 / 0.7557 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/0.7433, allocations: 6.357 MB / 0.7619 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/0.7437, allocations: 230.8 kB / 0.7621 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.621, allocations: 0 / 0.7621 GB, free: 8.5 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)