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.009396/0.009396, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001876/0.001876, allocations: 198.1 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7266/0.7266, allocations: 132.2 MB / 422.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.89 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4279, allocations: 80.19 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1752/0.6031, allocations: 161.4 MB / 0.8168 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007086/0.6103, allocations: 4.555 MB / 0.8212 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.6107, allocations: 7.938 kB / 0.8212 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005244/0.6113, allocations: 123.1 kB / 0.8213 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.6125, allocations: 350.4 kB / 0.8217 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.6136, allocations: 272.8 kB / 0.8219 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.6146, allocations: 0.5534 MB / 0.8225 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.6152, allocations: 225 kB / 0.8227 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.6164, allocations: 462.2 kB / 0.8231 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.6168, allocations: 187.3 kB / 0.8233 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.6168, allocations: 23.94 kB / 0.8233 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.617, allocations: 79.94 kB / 0.8234 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6172, allocations: 83.67 kB / 0.8235 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.6173, allocations: 123.4 kB / 0.8236 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004893/0.6178, allocations: 311 kB / 0.8239 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6178, allocations: 0 / 0.8239 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6179, allocations: 0 / 0.8239 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.507e-06/0.6179, allocations: 0 / 0.8239 GB, free: 12.96 MB / 0.6544 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.001015/0.6189, allocations: 0.5256 MB / 0.8244 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6189, allocations: 12.03 kB / 0.8244 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.619, allocations: 54.55 kB / 0.8245 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.6191, allocations: 23.72 kB / 0.8245 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.6195, allocations: 288 kB / 0.8248 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.6196, allocations: 16 kB / 0.8248 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.6196, allocations: 20 kB / 0.8248 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.6201, allocations: 266 kB / 0.8251 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6201, allocations: 0 / 0.8251 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.6201, allocations: 8 kB / 0.8251 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.6201, allocations: 4 kB / 0.8251 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.6205, allocations: 147.8 kB / 0.8252 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.6219, allocations: 1.371 MB / 0.8266 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.6222, allocations: 191.6 kB / 0.8267 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.6223, allocations: 93.11 kB / 0.8268 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.6227, allocations: 117 kB / 0.8269 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6227, allocations: 46.5 kB / 0.827 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.6227, allocations: 0 / 0.827 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.000605/0.6233, allocations: 209.5 kB / 0.8272 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.6234, allocations: 183.9 kB / 0.8274 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6237, allocations: 291 kB / 0.8276 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6238, allocations: 33.64 kB / 0.8277 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.6239, allocations: 144.1 kB / 0.8278 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.6239, allocations: 43.47 kB / 0.8279 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.624, allocations: 37.7 kB / 0.8279 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6241, allocations: 334.8 kB / 0.8282 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.6242, allocations: 43.97 kB / 0.8283 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6244, allocations: 119.7 kB / 0.8284 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.6247, allocations: 150.7 kB / 0.8285 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6247, allocations: 3.938 kB / 0.8285 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000349/0.6251, allocations: 193.3 kB / 0.8287 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6251, allocations: 8.031 kB / 0.8287 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6251, allocations: 4 kB / 0.8287 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6251, allocations: 0 / 0.8287 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.6253, allocations: 31.92 kB / 0.8287 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.6253, allocations: 11.92 kB / 0.8288 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.6255, allocations: 27.75 kB / 0.8288 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.6255, allocations: 7.984 kB / 0.8288 GB, free: 7.5 MB / 0.6544 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.0001318/0.6256, allocations: 162.3 kB / 0.8289 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.6258, allocations: 23.72 kB / 0.829 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.6261, allocations: 127.3 kB / 0.8291 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6261, allocations: 0 / 0.8291 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.6261, allocations: 8.062 kB / 0.8291 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6261, allocations: 3.984 kB / 0.8291 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.6269, allocations: 0.7652 MB / 0.8298 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6269, allocations: 0 / 0.8298 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.6271, allocations: 23.92 kB / 0.8299 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.6271, allocations: 4 kB / 0.8299 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6271, allocations: 8 kB / 0.8299 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.6271, allocations: 3.984 kB / 0.8299 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6271, allocations: 7.938 kB / 0.8299 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.6276, allocations: 335.5 kB / 0.8302 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.6277, allocations: 116.8 kB / 0.8303 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.6278, allocations: 0 / 0.8303 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.6279, allocations: 7.984 kB / 0.8303 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.6279, allocations: 23.81 kB / 0.8303 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.628, allocations: 4 kB / 0.8304 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001927/0.6282, allocations: 209.9 kB / 0.8306 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6282, allocations: 0 / 0.8306 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003402/0.6285, allocations: 59.98 kB / 0.8306 GB, free: 5.484 MB / 0.6544 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.0009387/0.6295, allocations: 0.9092 MB / 0.8315 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.6298, allocations: 128 kB / 0.8316 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6298, allocations: 0 / 0.8316 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.63, allocations: 59.91 kB / 0.8317 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.6307, allocations: 123.6 kB / 0.8318 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.6339, allocations: 2.613 MB / 0.8343 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.6342, allocations: 0.7558 MB / 0.8351 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001644/0.6344, allocations: 54.25 kB / 0.8351 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.6345, allocations: 63.42 kB / 0.8352 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.6345, allocations: 0 / 0.8352 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.6615, allocations: 6.857 MB / 0.8419 GB, free: 9.918 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.304, allocations: 6.375 kB / 0.8419 GB, free: 9.914 MB / 0.67 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)