Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001291/0.001292, allocations: 192.5 kB / 16.25 MB, free: 6.621 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9473/0.9473, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 71.97 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1844, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4854/0.6698, allocations: 161 MB / 0.7417 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.6761, allocations: 4.551 MB / 0.7462 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.6765, allocations: 10.28 kB / 0.7462 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.677, allocations: 106.6 kB / 0.7463 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.6784, allocations: 0.5047 MB / 0.7468 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.6803, allocations: 0.7112 MB / 0.7475 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.681, allocations: 0.5734 MB / 0.748 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.6813, allocations: 216.1 kB / 0.7482 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.6824, allocations: 457.5 kB / 0.7487 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005643/0.6829, allocations: 299 kB / 0.7489 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.683, allocations: 17.44 kB / 0.749 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.6846, allocations: 1.057 MB / 0.75 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.6847, allocations: 93.64 kB / 0.7501 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.6849, allocations: 118 kB / 0.7502 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.6859, allocations: 0.7717 MB / 0.7509 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6859, allocations: 4 kB / 0.751 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.336e-06/0.6859, allocations: 2.875 kB / 0.751 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.6859, allocations: 3.938 kB / 0.751 GB, free: 1.785 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009776/0.6869, allocations: 0.5924 MB / 0.7515 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.687, allocations: 11.19 kB / 0.7515 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.6876, allocations: 75.25 kB / 0.7516 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.688, allocations: 287.7 kB / 0.7519 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.688, allocations: 12 kB / 0.7519 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.6881, allocations: 20.72 kB / 0.7519 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.6886, allocations: 286.6 kB / 0.7522 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6886, allocations: 2.938 kB / 0.7522 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.6886, allocations: 7.938 kB / 0.7522 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6886, allocations: 5.125 kB / 0.7522 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.689, allocations: 204.4 kB / 0.7524 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.6907, allocations: 1.247 MB / 0.7536 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.691, allocations: 177 kB / 0.7538 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.6913, allocations: 116.2 kB / 0.7539 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.6921, allocations: 327.2 kB / 0.7542 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.6921, allocations: 46.69 kB / 0.7543 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.6921, allocations: 0 / 0.7543 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007676/0.6929, allocations: 277.1 kB / 0.7545 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.693, allocations: 158.7 kB / 0.7547 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.6933, allocations: 291 kB / 0.755 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.6934, allocations: 29.7 kB / 0.755 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6935, allocations: 147.8 kB / 0.7551 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.6936, allocations: 47.34 kB / 0.7552 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.6937, allocations: 45.7 kB / 0.7552 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6938, allocations: 334.8 kB / 0.7555 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.694, allocations: 67.94 kB / 0.7556 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6943, allocations: 144.5 kB / 0.7557 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003817/0.6947, allocations: 211.5 kB / 0.7559 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6947, allocations: 0 / 0.7559 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004945/0.6952, allocations: 237.7 kB / 0.7562 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6952, allocations: 11.98 kB / 0.7562 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6952, allocations: 0 / 0.7562 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6952, allocations: 4 kB / 0.7562 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.6954, allocations: 39.92 kB / 0.7562 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6955, allocations: 9.031 kB / 0.7562 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.6957, allocations: 35.61 kB / 0.7563 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.6957, allocations: 15 kB / 0.7563 GB, free: 12.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001533/0.6959, allocations: 153.8 kB / 0.7564 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.696, allocations: 23.72 kB / 0.7564 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.6965, allocations: 195.4 kB / 0.7566 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.6965, allocations: 3.938 kB / 0.7566 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6966, allocations: 4 kB / 0.7566 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6966, allocations: 7.938 kB / 0.7566 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.6976, allocations: 0.8433 MB / 0.7575 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6976, allocations: 160 / 0.7575 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6977, allocations: 31.86 kB / 0.7575 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.6977, allocations: 4 kB / 0.7575 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6978, allocations: 8 kB / 0.7575 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6978, allocations: 0 / 0.7575 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6978, allocations: 4 kB / 0.7575 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.6983, allocations: 334.9 kB / 0.7578 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6985, allocations: 120.7 kB / 0.7579 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.6985, allocations: 3.938 kB / 0.758 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6987, allocations: 12.05 kB / 0.758 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.6987, allocations: 20.02 kB / 0.758 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6988, allocations: 4 kB / 0.758 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002347/0.699, allocations: 233.9 kB / 0.7582 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.699, allocations: 0 / 0.7582 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004525/0.6995, allocations: 99.89 kB / 0.7583 GB, free: 10.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.000562/0.7, allocations: 222 kB / 0.7585 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.7005, allocations: 156.1 kB / 0.7587 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7005, allocations: 4.125 kB / 0.7587 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.7006, allocations: 55.91 kB / 0.7587 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.7014, allocations: 138.8 kB / 0.7589 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000934/0.7023, allocations: 0.5636 MB / 0.7594 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.7028, allocations: 0.7597 MB / 0.7601 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.703, allocations: 70.3 kB / 0.7602 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.703, allocations: 27.44 kB / 0.7602 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.7031, allocations: 0 / 0.7602 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of Templates: time 0.01097/0.714, allocations: 5.726 MB / 0.7658 GB, free: 2.473 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)