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.006598/0.006598, allocations: 101.6 kB / 15.88 MB, free: 5.871 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.001402/0.001402, allocations: 191.9 kB / 16.78 MB, free: 5.816 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9443/0.9443, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 68.66 kB / 0.5053 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1591, allocations: 80.93 MB / 0.5843 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4626/0.6217, allocations: 161 MB / 0.7415 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.6274, allocations: 4.624 MB / 0.7461 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.628, allocations: 9.312 kB / 0.7461 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005059/0.6285, allocations: 93.23 kB / 0.7462 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.6301, allocations: 0.5105 MB / 0.7467 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.6321, allocations: 0.7246 MB / 0.7474 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.6332, allocations: 0.8081 MB / 0.7481 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.6335, allocations: 178 kB / 0.7483 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.6347, allocations: 423 kB / 0.7487 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007548/0.6355, allocations: 292.1 kB / 0.749 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.6355, allocations: 13.03 kB / 0.749 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.6379, allocations: 1.165 MB / 0.7501 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.6381, allocations: 83.31 kB / 0.7502 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.6382, allocations: 119.8 kB / 0.7503 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009186/0.6392, allocations: 0.5017 MB / 0.7508 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6392, allocations: 0 / 0.7508 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.91e-07/0.6392, allocations: 6.438 kB / 0.7508 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.6392, allocations: 0 / 0.7508 GB, free: 2.02 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.001028/0.6402, allocations: 0.5887 MB / 0.7514 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6403, allocations: 11.23 kB / 0.7514 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.641, allocations: 74.88 kB / 0.7515 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.6414, allocations: 291.7 kB / 0.7518 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.6414, allocations: 16.25 kB / 0.7518 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.6415, allocations: 20.75 kB / 0.7518 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.642, allocations: 284.6 kB / 0.7521 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.642, allocations: 4 kB / 0.7521 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.642, allocations: 14.72 kB / 0.7521 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.642, allocations: 4.875 kB / 0.7521 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.6424, allocations: 200.5 kB / 0.7523 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.644, allocations: 1.252 MB / 0.7535 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.6443, allocations: 171 kB / 0.7537 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.6445, allocations: 111.7 kB / 0.7538 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/0.6452, allocations: 336.6 kB / 0.7541 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6453, allocations: 37.17 kB / 0.7541 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.6453, allocations: 4 kB / 0.7541 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000755/0.6461, allocations: 278.9 kB / 0.7544 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.6461, allocations: 154.2 kB / 0.7546 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.6464, allocations: 291.5 kB / 0.7548 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.6465, allocations: 29.7 kB / 0.7549 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.6466, allocations: 155.8 kB / 0.755 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.6467, allocations: 43.3 kB / 0.7551 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.6467, allocations: 49.64 kB / 0.7551 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.6469, allocations: 338.8 kB / 0.7554 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.647, allocations: 63.95 kB / 0.7555 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.6473, allocations: 150.5 kB / 0.7556 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.6476, allocations: 215.5 kB / 0.7558 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6476, allocations: 3.125 kB / 0.7558 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005014/0.6481, allocations: 241.1 kB / 0.7561 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6482, allocations: 8 kB / 0.7561 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.6482, allocations: 0 / 0.7561 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6482, allocations: 4 kB / 0.7561 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.6484, allocations: 39.91 kB / 0.7561 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.6484, allocations: 4 kB / 0.7561 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.6486, allocations: 39.92 kB / 0.7562 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.6487, allocations: 8 kB / 0.7562 GB, free: 13 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.0001362/0.6488, allocations: 153.8 kB / 0.7563 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.649, allocations: 27.66 kB / 0.7563 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.6494, allocations: 191.1 kB / 0.7565 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6495, allocations: 0 / 0.7565 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6495, allocations: 4 kB / 0.7565 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6495, allocations: 7.922 kB / 0.7565 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.6504, allocations: 0.8472 MB / 0.7574 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6504, allocations: 1.25 kB / 0.7574 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6506, allocations: 31.84 kB / 0.7574 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.6506, allocations: 8.156 kB / 0.7574 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.6506, allocations: 4 kB / 0.7574 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.6506, allocations: 0 / 0.7574 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6506, allocations: 4 kB / 0.7574 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.6511, allocations: 339.4 kB / 0.7577 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.043e-05/0.6513, allocations: 116.7 kB / 0.7578 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.6513, allocations: 0.875 kB / 0.7578 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.6515, allocations: 15.98 kB / 0.7579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.6515, allocations: 15.98 kB / 0.7579 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.6515, allocations: 4 kB / 0.7579 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002302/0.6518, allocations: 237.9 kB / 0.7581 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6518, allocations: 0 / 0.7581 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005146/0.6523, allocations: 88 kB / 0.7582 GB, free: 10.78 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.0006124/0.6529, allocations: 217.3 kB / 0.7584 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.6533, allocations: 147.8 kB / 0.7585 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6534, allocations: 0 / 0.7585 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.6535, allocations: 64.52 kB / 0.7586 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.6543, allocations: 130.6 kB / 0.7587 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.6552, allocations: 0.5871 MB / 0.7593 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.6555, allocations: 0.7638 MB / 0.76 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.6556, allocations: 23.44 kB / 0.7601 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6556, allocations: 0 / 0.7601 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of Templates: time 0.008317/0.6639, allocations: 5.231 MB / 0.7652 GB, free: 3.645 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)