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.001388/0.001388, allocations: 104.8 kB / 16.41 MB, free: 5.973 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.4 kB / 17.34 MB, free: 5.594 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.312/1.312, 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.8922/0.8922, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.44 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1678, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.5789/0.7468, allocations: 163.2 MB / 0.8247 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005997/0.7528, allocations: 4.577 MB / 0.8292 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005566/0.7534, allocations: 19.66 kB / 0.8292 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.7541, allocations: 123.2 kB / 0.8293 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.7559, allocations: 0.5382 MB / 0.8298 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.7582, allocations: 0.7733 MB / 0.8306 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009838/0.7592, allocations: 0.5747 MB / 0.8312 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.7597, allocations: 222.4 kB / 0.8314 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.761, allocations: 468 kB / 0.8318 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/0.7618, allocations: 287.4 kB / 0.8321 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.7619, allocations: 15.72 kB / 0.8321 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.764, allocations: 0.9978 MB / 0.8331 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.7642, allocations: 94.42 kB / 0.8332 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.7644, allocations: 128.7 kB / 0.8333 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.7661, allocations: 0.7177 MB / 0.834 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7661, allocations: 0 / 0.834 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7661, allocations: 0 / 0.834 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.7661, allocations: 10.39 kB / 0.834 GB, free: 12.5 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.001236/0.7674, allocations: 0.5871 MB / 0.8346 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7674, allocations: 11.17 kB / 0.8346 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.7682, allocations: 79.89 kB / 0.8347 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.7687, allocations: 295.1 kB / 0.8349 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.7687, allocations: 17.84 kB / 0.835 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.7688, allocations: 16.75 kB / 0.835 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.7693, allocations: 292.1 kB / 0.8353 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.7693, allocations: 0 / 0.8353 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.7694, allocations: 14.06 kB / 0.8353 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7694, allocations: 8.703 kB / 0.8353 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.7698, allocations: 205.4 kB / 0.8355 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.7715, allocations: 1.234 MB / 0.8367 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.7718, allocations: 170.8 kB / 0.8368 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.772, allocations: 111.7 kB / 0.837 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.7728, allocations: 337.5 kB / 0.8373 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.7729, allocations: 37.41 kB / 0.8373 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.7729, allocations: 0 / 0.8373 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000758/0.7736, allocations: 279.6 kB / 0.8376 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.7737, allocations: 161.1 kB / 0.8377 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.774, allocations: 291.7 kB / 0.838 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.774, allocations: 28.17 kB / 0.838 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.7742, allocations: 148.2 kB / 0.8382 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.7742, allocations: 48.38 kB / 0.8382 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.7743, allocations: 45.36 kB / 0.8383 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7744, allocations: 341.4 kB / 0.8386 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.7746, allocations: 63.2 kB / 0.8387 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.7748, allocations: 151.4 kB / 0.8388 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.7752, allocations: 206.5 kB / 0.839 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.7752, allocations: 2.125 kB / 0.839 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004953/0.7757, allocations: 247 kB / 0.8392 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.7758, allocations: 6.844 kB / 0.8392 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7758, allocations: 2.5 kB / 0.8392 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7758, allocations: 2.969 kB / 0.8392 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.776, allocations: 39.56 kB / 0.8393 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.776, allocations: 4.656 kB / 0.8393 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.7762, allocations: 33.89 kB / 0.8393 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.7763, allocations: 7.75 kB / 0.8393 GB, free: 7.977 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.000145/0.7764, allocations: 151.2 kB / 0.8395 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.7766, allocations: 28.5 kB / 0.8395 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.777, allocations: 187 kB / 0.8397 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.777, allocations: 6.031 kB / 0.8397 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.777, allocations: 2.344 kB / 0.8397 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.7771, allocations: 10.83 kB / 0.8397 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.778, allocations: 0.8471 MB / 0.8405 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.778, allocations: 6.375 kB / 0.8405 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.7781, allocations: 26.16 kB / 0.8406 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.7782, allocations: 3.375 kB / 0.8406 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7782, allocations: 2.594 kB / 0.8406 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7782, allocations: 1.844 kB / 0.8406 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7782, allocations: 2.844 kB / 0.8406 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.7788, allocations: 343 kB / 0.8409 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.7789, allocations: 117.5 kB / 0.841 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.7789, allocations: 6.031 kB / 0.841 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.7791, allocations: 13.58 kB / 0.841 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.7792, allocations: 9.703 kB / 0.841 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7792, allocations: 2.281 kB / 0.841 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002211/0.7794, allocations: 238.5 kB / 0.8413 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7794, allocations: 0 / 0.8413 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004702/0.7799, allocations: 90.84 kB / 0.8413 GB, free: 6.277 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.0005732/0.7805, allocations: 226.1 kB / 0.8416 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.7809, allocations: 151.2 kB / 0.8417 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7809, allocations: 3.938 kB / 0.8417 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.781, allocations: 63.8 kB / 0.8418 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.7818, allocations: 136.4 kB / 0.8419 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.7828, allocations: 0.5314 MB / 0.8424 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.7831, allocations: 0.7575 MB / 0.8432 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.7832, allocations: 25.47 kB / 0.8432 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.7832, allocations: 0 / 0.8432 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.009262/0.7925, allocations: 5.271 MB / 0.8483 GB, free: 2.082 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)