Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008229/0.0008229, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009358/0.0009359, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8686/0.8686, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 12 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 82.31 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.3694/0.5232, allocations: 136.9 MB / 0.7209 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.5277, allocations: 3.567 MB / 0.7244 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.5279, allocations: 13.28 kB / 0.7244 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.5285, allocations: 161.2 kB / 0.7246 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008916/0.5294, allocations: 355.5 kB / 0.7249 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.5308, allocations: 0.5653 MB / 0.7255 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.5313, allocations: 346.6 kB / 0.7258 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.5316, allocations: 172.7 kB / 0.726 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.5323, allocations: 323.2 kB / 0.7263 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.5327, allocations: 226.3 kB / 0.7265 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.5328, allocations: 9.625 kB / 0.7265 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.5336, allocations: 436.8 kB / 0.7269 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.5337, allocations: 77.75 kB / 0.727 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.5338, allocations: 70.02 kB / 0.7271 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.5343, allocations: 356 kB / 0.7274 GB, free: 7.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.5343, allocations: 0 / 0.7274 GB, free: 7.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5343, allocations: 0 / 0.7274 GB, free: 7.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5343, allocations: 0 / 0.7274 GB, free: 7.223 MB / 0.545 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.0007284/0.535, allocations: 0.5356 MB / 0.7279 GB, free: 6.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.5351, allocations: 7.656 kB / 0.7279 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.5357, allocations: 81.78 kB / 0.728 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.536, allocations: 281 kB / 0.7283 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5361, allocations: 15.47 kB / 0.7283 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.5361, allocations: 17.94 kB / 0.7283 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004567/0.5366, allocations: 281.9 kB / 0.7286 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5366, allocations: 9.234 kB / 0.7286 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.5366, allocations: 9.969 kB / 0.7286 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5366, allocations: 5.469 kB / 0.7286 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.5371, allocations: 214.1 kB / 0.7288 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.5385, allocations: 1.262 MB / 0.73 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.5388, allocations: 191.7 kB / 0.7302 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.5391, allocations: 143.5 kB / 0.7304 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.5392, allocations: 46.33 kB / 0.7304 GB, free: 4.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.5392, allocations: 0 / 0.7304 GB, free: 4.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007384/0.5399, allocations: 330.7 kB / 0.7307 GB, free: 4.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.54, allocations: 158.3 kB / 0.7309 GB, free: 4.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5403, allocations: 284.6 kB / 0.7311 GB, free: 4.469 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.5403, allocations: 27.08 kB / 0.7312 GB, free: 4.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5404, allocations: 151.9 kB / 0.7313 GB, free: 4.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.5405, allocations: 40.86 kB / 0.7314 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.5405, allocations: 9.375 kB / 0.7314 GB, free: 4.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5406, allocations: 332.5 kB / 0.7317 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.5408, allocations: 82.06 kB / 0.7318 GB, free: 3.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.541, allocations: 166.2 kB / 0.7319 GB, free: 3.812 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.5412, allocations: 100.9 kB / 0.732 GB, free: 3.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5412, allocations: 0 / 0.732 GB, free: 3.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005274/0.5418, allocations: 280.6 kB / 0.7323 GB, free: 3.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5418, allocations: 4.969 kB / 0.7323 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5418, allocations: 6.297 kB / 0.7323 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5418, allocations: 7.828 kB / 0.7323 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.542, allocations: 45.31 kB / 0.7323 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.542, allocations: 4.219 kB / 0.7323 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5422, allocations: 41.97 kB / 0.7324 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.5423, allocations: 9.484 kB / 0.7324 GB, free: 3.633 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.5424, allocations: 151.3 kB / 0.7325 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5426, allocations: 24.84 kB / 0.7326 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.5431, allocations: 219.9 kB / 0.7328 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.5431, allocations: 14.36 kB / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5431, allocations: 3 kB / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5431, allocations: 0.6562 kB / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.5442, allocations: 0.929 MB / 0.7337 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5442, allocations: 2.469 kB / 0.7337 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.5443, allocations: 32.95 kB / 0.7337 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5443, allocations: 0 / 0.7337 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5444, allocations: 9.422 kB / 0.7337 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.5444, allocations: 7.703 kB / 0.7337 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5444, allocations: 0 / 0.7337 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.545, allocations: 487.4 kB / 0.7342 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5451, allocations: 113.5 kB / 0.7343 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5452, allocations: 7.484 kB / 0.7343 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5454, allocations: 10.47 kB / 0.7343 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.5454, allocations: 16.33 kB / 0.7344 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5454, allocations: 4.109 kB / 0.7344 GB, free: 2.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001868/0.5456, allocations: 224.7 kB / 0.7346 GB, free: 2.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5456, allocations: 0 / 0.7346 GB, free: 2.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004403/0.5461, allocations: 98.36 kB / 0.7347 GB, free: 1.992 MB / 0.545 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000407/0.5465, allocations: 201.4 kB / 0.7349 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.5469, allocations: 189.5 kB / 0.735 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5469, allocations: 0 / 0.735 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.5471, allocations: 87.84 kB / 0.7351 GB, free: 1.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006446/0.5477, allocations: 130.6 kB / 0.7352 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007974/0.5485, allocations: 0.5981 MB / 0.7358 GB, free: 1.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.5488, allocations: 0.7648 MB / 0.7366 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.5491, allocations: 64.56 kB / 0.7366 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.5491, allocations: 25.77 kB / 0.7367 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5491, allocations: 4 kB / 0.7367 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of Templates: time 0.009099/0.5582, allocations: 5.468 MB / 0.742 GB, free: 13.6 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: