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: translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 106 kB / 16.41 MB, free: 5.984 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.001213/0.001213, allocations: 184.4 kB / 17.34 MB, free: 5.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.216/1.216, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7381/0.7381, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 71.3 kB / 0.5863 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4632/0.5911, allocations: 161.4 MB / 0.8229 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004933/0.5961, allocations: 4.542 MB / 0.8273 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.5966, allocations: 9.906 kB / 0.8273 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.5971, allocations: 133.9 kB / 0.8275 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007819/0.5979, allocations: 328.2 kB / 0.8278 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007439/0.5986, allocations: 277.5 kB / 0.828 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.5992, allocations: 0.5605 MB / 0.8286 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003278/0.5995, allocations: 207.6 kB / 0.8288 GB, free: 148 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009022/0.6004, allocations: 465 kB / 0.8292 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.6007, allocations: 183.5 kB / 0.8294 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.6007, allocations: 17.84 kB / 0.8294 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.6009, allocations: 83.3 kB / 0.8295 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.601, allocations: 87.75 kB / 0.8296 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.6011, allocations: 118 kB / 0.8297 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.6015, allocations: 300.7 kB / 0.83 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6015, allocations: 0 / 0.83 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6015, allocations: 2.562 kB / 0.83 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6015, allocations: 4 kB / 0.83 GB, free: 15.39 MB / 0.6075 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.0007831/0.6023, allocations: 0.5439 MB / 0.8305 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6024, allocations: 11.27 kB / 0.8305 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.6024, allocations: 23.91 kB / 0.8306 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.6028, allocations: 287.2 kB / 0.8308 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6028, allocations: 11.69 kB / 0.8308 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.6029, allocations: 16.84 kB / 0.8309 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.6033, allocations: 268.4 kB / 0.8311 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6033, allocations: 6.719 kB / 0.8311 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.6033, allocations: 4 kB / 0.8311 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6033, allocations: 7.344 kB / 0.8311 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.6036, allocations: 147.1 kB / 0.8313 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.6048, allocations: 1.37 MB / 0.8326 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.605, allocations: 180.7 kB / 0.8328 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.6052, allocations: 96.3 kB / 0.8329 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003234/0.6055, allocations: 123.3 kB / 0.833 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.6056, allocations: 37.12 kB / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.6056, allocations: 0 / 0.833 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005469/0.6061, allocations: 206.3 kB / 0.8332 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.6062, allocations: 186.6 kB / 0.8334 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.6065, allocations: 294.5 kB / 0.8337 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6065, allocations: 29.64 kB / 0.8337 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.6066, allocations: 152.5 kB / 0.8339 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.6066, allocations: 36.39 kB / 0.8339 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.6067, allocations: 33.83 kB / 0.8339 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6068, allocations: 338.6 kB / 0.8342 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.6069, allocations: 42.72 kB / 0.8343 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6071, allocations: 120 kB / 0.8344 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.6074, allocations: 158.2 kB / 0.8345 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6074, allocations: 0 / 0.8345 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003408/0.6077, allocations: 198.7 kB / 0.8347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6078, allocations: 5.188 kB / 0.8347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6078, allocations: 2.5 kB / 0.8347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6078, allocations: 5.844 kB / 0.8348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6079, allocations: 29.45 kB / 0.8348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6079, allocations: 2.938 kB / 0.8348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.6081, allocations: 29.08 kB / 0.8348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.6081, allocations: 8.875 kB / 0.8348 GB, free: 11.06 MB / 0.6075 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.0001148/0.6083, allocations: 147.2 kB / 0.835 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6084, allocations: 28.59 kB / 0.835 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.6087, allocations: 135 kB / 0.8351 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6087, allocations: 2.125 kB / 0.8351 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6087, allocations: 2.594 kB / 0.8351 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6087, allocations: 4 kB / 0.8351 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.6095, allocations: 0.7729 MB / 0.8359 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6095, allocations: 0 / 0.8359 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6096, allocations: 27.48 kB / 0.8359 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.6096, allocations: 4.156 kB / 0.8359 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.6096, allocations: 3 kB / 0.8359 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6097, allocations: 2.281 kB / 0.8359 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6097, allocations: 2.562 kB / 0.8359 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.6101, allocations: 341.2 kB / 0.8362 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.6102, allocations: 107 kB / 0.8363 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.6103, allocations: 6.672 kB / 0.8363 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6104, allocations: 9.938 kB / 0.8364 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6104, allocations: 16.83 kB / 0.8364 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.6104, allocations: 6.844 kB / 0.8364 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001606/0.6106, allocations: 213.2 kB / 0.8366 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6106, allocations: 0 / 0.8366 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000318/0.6109, allocations: 57.19 kB / 0.8366 GB, free: 9.469 MB / 0.6075 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.0003084/0.6113, allocations: 142.4 kB / 0.8368 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.6116, allocations: 127.4 kB / 0.8369 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6116, allocations: 2.812 kB / 0.8369 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.6117, allocations: 56.38 kB / 0.837 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/0.6124, allocations: 136 kB / 0.8371 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.6132, allocations: 0.5024 MB / 0.8376 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6135, allocations: 0.7617 MB / 0.8383 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.6135, allocations: 22.66 kB / 0.8383 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.6135, allocations: 0 / 0.8383 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.005381/0.6189, allocations: 3.813 MB / 0.8421 GB, free: 6.121 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)