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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7053/0.7053, allocations: 133.4 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 404.7 MB, free: 6.086 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 107.5 kB / 485.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009636/0.0009636, allocations: 59.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1526, allocations: 80.43 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4551/0.6077, allocations: 161 MB / 0.7993 GB, free: 256 kB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004813/0.6125, allocations: 4.632 MB / 0.8039 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.6129, allocations: 7.938 kB / 0.8039 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000406/0.6134, allocations: 95.34 kB / 0.804 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.6145, allocations: 0.5136 MB / 0.8045 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.6161, allocations: 0.7093 MB / 0.8052 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.6168, allocations: 0.8184 MB / 0.806 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.6171, allocations: 177.5 kB / 0.8061 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.6179, allocations: 434.4 kB / 0.8065 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.6185, allocations: 294.9 kB / 0.8068 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.6185, allocations: 16 kB / 0.8068 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.6203, allocations: 1.165 MB / 0.808 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.6204, allocations: 79.78 kB / 0.808 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.6205, allocations: 119.3 kB / 0.8082 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0009694/0.6215, allocations: 0.7751 MB / 0.8089 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6215, allocations: 4 kB / 0.8089 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.672e-05/0.6216, allocations: 0 / 0.8089 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.6216, allocations: 0 / 0.8089 GB, free: 6.41 MB / 0.5417 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.0008914/0.6225, allocations: 0.5979 MB / 0.8095 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.6225, allocations: 8.031 kB / 0.8095 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.6231, allocations: 71.59 kB / 0.8096 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.6235, allocations: 287.3 kB / 0.8099 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6235, allocations: 16 kB / 0.8099 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.6235, allocations: 16 kB / 0.8099 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.624, allocations: 295.4 kB / 0.8102 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.624, allocations: 0 / 0.8102 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.624, allocations: 11.94 kB / 0.8102 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.6241, allocations: 4 kB / 0.8102 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.6245, allocations: 208.1 kB / 0.8104 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.6259, allocations: 1.242 MB / 0.8116 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.6262, allocations: 176.9 kB / 0.8118 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.6264, allocations: 116.2 kB / 0.8119 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.6271, allocations: 331.2 kB / 0.8122 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.6271, allocations: 42.69 kB / 0.8122 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.6271, allocations: 0 / 0.8122 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0007176/0.6279, allocations: 273.6 kB / 0.8125 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.628, allocations: 166.2 kB / 0.8126 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.6282, allocations: 283 kB / 0.8129 GB, free: 1.945 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6283, allocations: 29.7 kB / 0.8129 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.6284, allocations: 151.8 kB / 0.8131 GB, free: 1.758 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.6284, allocations: 43.78 kB / 0.8131 GB, free: 1.715 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.6285, allocations: 41.7 kB / 0.8132 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6286, allocations: 342.8 kB / 0.8135 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6288, allocations: 67.95 kB / 0.8136 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.629, allocations: 147.9 kB / 0.8137 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.6294, allocations: 219.5 kB / 0.8139 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6294, allocations: 0 / 0.8139 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005426/0.6299, allocations: 241.8 kB / 0.8141 GB, free: 0.6016 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6299, allocations: 5.406 kB / 0.8141 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.63, allocations: 4 kB / 0.8142 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.63, allocations: 8.25 kB / 0.8142 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.6302, allocations: 35.97 kB / 0.8142 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.6302, allocations: 9.969 kB / 0.8142 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.6304, allocations: 39.61 kB / 0.8142 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.6304, allocations: 15.94 kB / 0.8143 GB, free: 500 kB / 0.5417 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.0001286/0.6305, allocations: 143.1 kB / 0.8144 GB, free: 348 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.6307, allocations: 23.72 kB / 0.8144 GB, free: 324 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.6311, allocations: 189.7 kB / 0.8146 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.6312, allocations: 8 kB / 0.8146 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6312, allocations: 0 / 0.8146 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6312, allocations: 15.86 kB / 0.8146 GB, free: 88 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.6321, allocations: 0.8433 MB / 0.8154 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6321, allocations: 4 kB / 0.8154 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.6322, allocations: 28.78 kB / 0.8155 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6322, allocations: 4 kB / 0.8155 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6323, allocations: 0 / 0.8155 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.6323, allocations: 4 kB / 0.8155 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.6323, allocations: 3.938 kB / 0.8155 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.6364, allocations: 1.9 MB / 0.8173 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.6365, allocations: 112.8 kB / 0.8175 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.6365, allocations: 12.12 kB / 0.8175 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.6367, allocations: 8 kB / 0.8175 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.6367, allocations: 19.86 kB / 0.8175 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.6368, allocations: 8 kB / 0.8175 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002186/0.637, allocations: 229.9 kB / 0.8177 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.637, allocations: 0 / 0.8177 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005346/0.6375, allocations: 128 kB / 0.8178 GB, free: 12.55 MB / 0.5573 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.0004958/0.638, allocations: 217.6 kB / 0.818 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.6384, allocations: 147.8 kB / 0.8182 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6384, allocations: 3.938 kB / 0.8182 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.6386, allocations: 63.84 kB / 0.8183 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007602/0.6394, allocations: 135.4 kB / 0.8184 GB, free: 12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008151/0.6402, allocations: 0.6839 MB / 0.819 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.6405, allocations: 0.756 MB / 0.8198 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.6407, allocations: 63.08 kB / 0.8198 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.6407, allocations: 27.38 kB / 0.8199 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.6407, allocations: 0 / 0.8199 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.009144/0.6499, allocations: 5.699 MB / 0.8254 GB, free: 4.742 MB / 0.5573 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)