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.0008636/0.0008637, allocations: 91.84 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.007437/0.007437, allocations: 169.9 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.963/0.963, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 8 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.189, allocations: 82.3 MB / 0.588 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5508/0.7399, allocations: 158.9 MB / 0.7431 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005934/0.7458, allocations: 4.567 MB / 0.7476 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.7461, allocations: 8.719 kB / 0.7476 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.7465, allocations: 100.1 kB / 0.7477 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.748, allocations: 0.5096 MB / 0.7482 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.7498, allocations: 0.7126 MB / 0.7489 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009287/0.7508, allocations: 0.8142 MB / 0.7497 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.7511, allocations: 172.5 kB / 0.7498 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.7521, allocations: 433.6 kB / 0.7502 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.7528, allocations: 281 kB / 0.7505 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.7529, allocations: 9.562 kB / 0.7505 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.7548, allocations: 1.17 MB / 0.7517 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.755, allocations: 79.56 kB / 0.7517 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.7551, allocations: 143.7 kB / 0.7519 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.7561, allocations: 0.7675 MB / 0.7526 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7561, allocations: 0 / 0.7526 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7561, allocations: 0 / 0.7526 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.7562, allocations: 0 / 0.7526 GB, free: 2.574 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.0008495/0.757, allocations: 0.5504 MB / 0.7532 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7571, allocations: 8 kB / 0.7532 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.7577, allocations: 83.48 kB / 0.7533 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.7581, allocations: 286 kB / 0.7535 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.7581, allocations: 13.53 kB / 0.7535 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.7581, allocations: 16.97 kB / 0.7536 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.7586, allocations: 292.7 kB / 0.7538 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.7587, allocations: 3 kB / 0.7538 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.7587, allocations: 11.94 kB / 0.7538 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7587, allocations: 5.781 kB / 0.7539 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.7591, allocations: 214.7 kB / 0.7541 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.7606, allocations: 1.257 MB / 0.7553 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.7609, allocations: 180.5 kB / 0.7555 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.7611, allocations: 115.2 kB / 0.7556 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007454/0.7619, allocations: 344.9 kB / 0.7559 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.7619, allocations: 38 kB / 0.7559 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.7619, allocations: 0 / 0.7559 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007478/0.7627, allocations: 304.5 kB / 0.7562 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.7628, allocations: 158.2 kB / 0.7564 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.763, allocations: 289.4 kB / 0.7567 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.7631, allocations: 25.7 kB / 0.7567 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.7632, allocations: 148.6 kB / 0.7568 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.7632, allocations: 44.78 kB / 0.7569 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.7633, allocations: 24.83 kB / 0.7569 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7634, allocations: 341.1 kB / 0.7572 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7636, allocations: 75.97 kB / 0.7573 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.7638, allocations: 139.7 kB / 0.7574 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.7642, allocations: 224.6 kB / 0.7576 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7642, allocations: 0 / 0.7576 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004797/0.7647, allocations: 256.1 kB / 0.7579 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7647, allocations: 12.02 kB / 0.7579 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.7647, allocations: 4.531 kB / 0.7579 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.7647, allocations: 0 / 0.7579 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.7649, allocations: 51.48 kB / 0.7579 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.765, allocations: 4.219 kB / 0.7579 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.7652, allocations: 43.61 kB / 0.758 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.7652, allocations: 12 kB / 0.758 GB, free: 14.02 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.0001356/0.7653, allocations: 145.8 kB / 0.7581 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.7655, allocations: 27.72 kB / 0.7582 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.766, allocations: 206.9 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.766, allocations: 3.938 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.766, allocations: 4 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.766, allocations: 3.938 kB / 0.7584 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.767, allocations: 0.855 MB / 0.7592 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.767, allocations: 0 / 0.7592 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.7671, allocations: 31.86 kB / 0.7592 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.7671, allocations: 4 kB / 0.7592 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.7672, allocations: 12.16 kB / 0.7592 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7672, allocations: 0 / 0.7592 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/0.7672, allocations: 4 kB / 0.7593 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.7678, allocations: 355.4 kB / 0.7596 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.7679, allocations: 124.7 kB / 0.7597 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.768, allocations: 9.812 kB / 0.7597 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.7682, allocations: 19.98 kB / 0.7597 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.7682, allocations: 4 kB / 0.7597 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.7682, allocations: 7.984 kB / 0.7598 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002343/0.7685, allocations: 237.9 kB / 0.76 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7685, allocations: 0 / 0.76 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004895/0.769, allocations: 91.91 kB / 0.7601 GB, free: 11.74 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.0005204/0.7695, allocations: 232.1 kB / 0.7603 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.7699, allocations: 159.8 kB / 0.7604 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7699, allocations: 3.938 kB / 0.7604 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.7701, allocations: 68.7 kB / 0.7605 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008372/0.7709, allocations: 128.5 kB / 0.7606 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.7717, allocations: 0.5788 MB / 0.7612 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.7721, allocations: 0.7599 MB / 0.7619 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.7723, allocations: 69.38 kB / 0.762 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.7723, allocations: 23.44 kB / 0.762 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.7723, allocations: 0 / 0.762 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of Templates: time 0.01015/0.7825, allocations: 5.565 MB / 0.7675 GB, free: 4.219 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)