Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001247/0.001247, allocations: 193.5 kB / 16.14 MB, free: 6.688 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 55.75 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3573/0.4918, allocations: 159.1 MB / 0.7392 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.4967, allocations: 4.556 MB / 0.7436 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.497, allocations: 8.969 kB / 0.7436 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.4974, allocations: 96.52 kB / 0.7437 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007616/0.4982, allocations: 310.8 kB / 0.744 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.4989, allocations: 251.4 kB / 0.7443 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007289/0.4996, allocations: 0.7898 MB / 0.745 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.4999, allocations: 173.6 kB / 0.7452 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.5008, allocations: 428 kB / 0.7456 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.5011, allocations: 197.2 kB / 0.7458 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.5012, allocations: 10.69 kB / 0.7458 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.5014, allocations: 72.91 kB / 0.7459 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.5015, allocations: 93.16 kB / 0.746 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.5016, allocations: 110.9 kB / 0.7461 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.5019, allocations: 287.8 kB / 0.7463 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.502, allocations: 0 / 0.7463 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.42e-07/0.502, allocations: 0 / 0.7463 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.502, allocations: 0 / 0.7463 GB, free: 4.914 MB / 0.5606 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.0007651/0.5027, allocations: 0.5337 MB / 0.7469 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.5028, allocations: 9.625 kB / 0.7469 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.5028, allocations: 51.98 kB / 0.7469 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.5029, allocations: 29.38 kB / 0.7469 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.5032, allocations: 279.2 kB / 0.7472 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.5033, allocations: 16.25 kB / 0.7472 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.5033, allocations: 16.38 kB / 0.7472 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.5037, allocations: 264.8 kB / 0.7475 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5037, allocations: 0 / 0.7475 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.5037, allocations: 10.28 kB / 0.7475 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5038, allocations: 11.64 kB / 0.7475 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.5041, allocations: 139.2 kB / 0.7476 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.5052, allocations: 1.376 MB / 0.749 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.5055, allocations: 179.6 kB / 0.7492 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.5056, allocations: 95.11 kB / 0.7493 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/0.506, allocations: 117 kB / 0.7494 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.506, allocations: 49.17 kB / 0.7494 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.506, allocations: 0 / 0.7494 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005552/0.5066, allocations: 206.1 kB / 0.7496 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.5067, allocations: 186.7 kB / 0.7498 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5069, allocations: 286 kB / 0.7501 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.5069, allocations: 29.7 kB / 0.7501 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.507, allocations: 148.7 kB / 0.7502 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.5071, allocations: 36.33 kB / 0.7503 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.5071, allocations: 40.55 kB / 0.7503 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5072, allocations: 336.1 kB / 0.7506 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.5074, allocations: 46.61 kB / 0.7507 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5076, allocations: 119.3 kB / 0.7508 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.508, allocations: 155.4 kB / 0.7509 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.508, allocations: 3.812 kB / 0.7509 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000476/0.5085, allocations: 189 kB / 0.7511 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5085, allocations: 5.094 kB / 0.7511 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5085, allocations: 3.219 kB / 0.7511 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5085, allocations: 6.078 kB / 0.7511 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.5087, allocations: 39.8 kB / 0.7512 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5087, allocations: 2.438 kB / 0.7512 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.509, allocations: 32.7 kB / 0.7512 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.509, allocations: 7.844 kB / 0.7512 GB, free: 0.543 MB / 0.5606 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.0001477/0.5092, allocations: 147.7 kB / 0.7513 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5094, allocations: 30.33 kB / 0.7514 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.5098, allocations: 130.4 kB / 0.7515 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5098, allocations: 2.5 kB / 0.7515 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5098, allocations: 3.062 kB / 0.7515 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5098, allocations: 6.406 kB / 0.7515 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5109, allocations: 0.7709 MB / 0.7523 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5109, allocations: 2.75 kB / 0.7523 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.5111, allocations: 24.27 kB / 0.7523 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5111, allocations: 2.25 kB / 0.7523 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5111, allocations: 3.125 kB / 0.7523 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5111, allocations: 2.469 kB / 0.7523 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5111, allocations: 3.938 kB / 0.7523 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.5118, allocations: 340.8 kB / 0.7526 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.5119, allocations: 117.4 kB / 0.7527 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.512, allocations: 10.69 kB / 0.7527 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.5122, allocations: 9.266 kB / 0.7528 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.5122, allocations: 17.23 kB / 0.7528 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.5122, allocations: 2.312 kB / 0.7528 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002386/0.5125, allocations: 208.8 kB / 0.753 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5125, allocations: 2.531 kB / 0.753 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004572/0.513, allocations: 56.75 kB / 0.753 GB, free: 14.96 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.001106/0.5141, allocations: 0.906 MB / 0.7539 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.5145, allocations: 120.3 kB / 0.754 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5145, allocations: 4.125 kB / 0.754 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.5147, allocations: 61.64 kB / 0.7541 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.5157, allocations: 123.9 kB / 0.7542 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.5197, allocations: 2.663 MB / 0.7568 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5201, allocations: 0.7596 MB / 0.7576 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.5203, allocations: 50.25 kB / 0.7576 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.5204, allocations: 67.42 kB / 0.7577 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5205, allocations: 0 / 0.7577 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4847/1.005, allocations: 6.464 MB / 0.764 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/1.005, allocations: 241.4 kB / 0.7642 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.702, allocations: 0 / 0.7642 GB, free: 4.117 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)