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.001299/0.001299, allocations: 106 kB / 16.41 MB, free: 6.5 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.001079/0.001079, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8619/0.8619, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.44 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1634, allocations: 80.94 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5576/0.7211, allocations: 163.2 MB / 0.8247 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0062/0.7273, allocations: 4.581 MB / 0.8292 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004951/0.7279, allocations: 10.78 kB / 0.8292 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.7285, allocations: 123.7 kB / 0.8293 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.7302, allocations: 0.5365 MB / 0.8298 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002064/0.7322, allocations: 0.7755 MB / 0.8306 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008689/0.7331, allocations: 0.5751 MB / 0.8312 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/0.7336, allocations: 221.9 kB / 0.8314 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.7348, allocations: 464.3 kB / 0.8318 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007424/0.7356, allocations: 288.6 kB / 0.8321 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.7356, allocations: 22.09 kB / 0.8321 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.7375, allocations: 0.9981 MB / 0.8331 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.7376, allocations: 85.78 kB / 0.8332 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.7378, allocations: 124.8 kB / 0.8333 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.7394, allocations: 0.7278 MB / 0.834 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7394, allocations: 0 / 0.834 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7394, allocations: 4 kB / 0.834 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.7394, allocations: 0 / 0.834 GB, free: 12.58 MB / 0.6075 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.001245/0.7407, allocations: 0.5941 MB / 0.8346 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7407, allocations: 11.8 kB / 0.8346 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.7414, allocations: 75.58 kB / 0.8347 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.7419, allocations: 299.4 kB / 0.835 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.742, allocations: 13.72 kB / 0.835 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.742, allocations: 20.69 kB / 0.835 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.7426, allocations: 292.2 kB / 0.8353 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7426, allocations: 0 / 0.8353 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.7426, allocations: 10.03 kB / 0.8353 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.7426, allocations: 5.281 kB / 0.8353 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.7431, allocations: 204.8 kB / 0.8355 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.7448, allocations: 1.233 MB / 0.8367 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.7451, allocations: 171.1 kB / 0.8368 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.7453, allocations: 116.5 kB / 0.837 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/0.746, allocations: 332.7 kB / 0.8373 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.7461, allocations: 37.38 kB / 0.8373 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.7461, allocations: 0 / 0.8373 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007701/0.7468, allocations: 286.2 kB / 0.8376 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.7469, allocations: 160.6 kB / 0.8377 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.7472, allocations: 287.8 kB / 0.838 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7473, allocations: 29.7 kB / 0.838 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.7474, allocations: 144.2 kB / 0.8382 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/0.7475, allocations: 50.86 kB / 0.8382 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.7476, allocations: 45.2 kB / 0.8383 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.7477, allocations: 334.2 kB / 0.8386 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.7479, allocations: 63.23 kB / 0.8386 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7481, allocations: 156.6 kB / 0.8388 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.7485, allocations: 214.5 kB / 0.839 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7485, allocations: 0 / 0.839 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005319/0.749, allocations: 240.9 kB / 0.8392 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7491, allocations: 4.875 kB / 0.8392 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7491, allocations: 6.406 kB / 0.8392 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7491, allocations: 2.781 kB / 0.8392 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7493, allocations: 46.16 kB / 0.8393 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7493, allocations: 2.625 kB / 0.8393 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.7495, allocations: 31.08 kB / 0.8393 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.7496, allocations: 10.84 kB / 0.8393 GB, free: 8.051 MB / 0.6075 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.0001726/0.7498, allocations: 159.5 kB / 0.8395 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7499, allocations: 28.28 kB / 0.8395 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.7504, allocations: 181.9 kB / 0.8397 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7504, allocations: 2.719 kB / 0.8397 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7504, allocations: 0 / 0.8397 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.7504, allocations: 9.922 kB / 0.8397 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.7515, allocations: 0.8464 MB / 0.8405 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7515, allocations: 3.938 kB / 0.8405 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7517, allocations: 36.28 kB / 0.8406 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.7517, allocations: 2.781 kB / 0.8406 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7517, allocations: 2.094 kB / 0.8406 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.7517, allocations: 2.25 kB / 0.8406 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7517, allocations: 3 kB / 0.8406 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.7523, allocations: 341.6 kB / 0.8409 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.7524, allocations: 119.1 kB / 0.841 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.7524, allocations: 6.031 kB / 0.841 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.7526, allocations: 8.547 kB / 0.841 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.7527, allocations: 13.47 kB / 0.841 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.7527, allocations: 8.703 kB / 0.841 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002137/0.7529, allocations: 232 kB / 0.8413 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7529, allocations: 0 / 0.8413 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004749/0.7534, allocations: 95.91 kB / 0.8414 GB, free: 6.344 MB / 0.6075 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.0005733/0.754, allocations: 212.3 kB / 0.8416 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.7544, allocations: 155.3 kB / 0.8417 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7544, allocations: 0 / 0.8417 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.7545, allocations: 60.14 kB / 0.8418 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.7553, allocations: 148.9 kB / 0.8419 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.7562, allocations: 0.5167 MB / 0.8424 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.7566, allocations: 0.7623 MB / 0.8431 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.7567, allocations: 28.36 kB / 0.8432 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.7567, allocations: 0 / 0.8432 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.009221/0.7659, allocations: 5.243 MB / 0.8483 GB, free: 2.172 MB / 0.6075 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)