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.00115/0.00115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001163/0.001163, allocations: 198.1 kB / 16.25 MB, free: 6.625 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.359/1.359, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.2 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.48 kB / 0.5049 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.185, allocations: 80.93 MB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4866/0.6717, allocations: 161 MB / 0.7412 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005778/0.6775, allocations: 4.551 MB / 0.7456 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004525/0.678, allocations: 10.25 kB / 0.7456 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.6785, allocations: 101.3 kB / 0.7457 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.6799, allocations: 0.5055 MB / 0.7462 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.6817, allocations: 0.7199 MB / 0.7469 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008327/0.6825, allocations: 0.5816 MB / 0.7475 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.6829, allocations: 206 kB / 0.7477 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.684, allocations: 451.8 kB / 0.7481 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.6846, allocations: 306.9 kB / 0.7484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.6847, allocations: 17.69 kB / 0.7484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.6864, allocations: 1.051 MB / 0.7494 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6865, allocations: 88.31 kB / 0.7495 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.6867, allocations: 126.2 kB / 0.7496 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.6877, allocations: 0.7773 MB / 0.7504 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6877, allocations: 4 kB / 0.7504 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6877, allocations: 0 / 0.7504 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.6877, allocations: 0 / 0.7504 GB, free: 2.176 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.0009275/0.6887, allocations: 0.5885 MB / 0.751 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6887, allocations: 8.062 kB / 0.751 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006942/0.6894, allocations: 81.05 kB / 0.7511 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.6898, allocations: 293.4 kB / 0.7513 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6898, allocations: 11.88 kB / 0.7514 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.482e-05/0.6899, allocations: 20.72 kB / 0.7514 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.6904, allocations: 283.4 kB / 0.7516 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6904, allocations: 2.25 kB / 0.7516 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.6904, allocations: 10.53 kB / 0.7517 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6904, allocations: 2.688 kB / 0.7517 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.6909, allocations: 211.2 kB / 0.7519 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.6924, allocations: 1.24 MB / 0.7531 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.6927, allocations: 177 kB / 0.7532 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.6929, allocations: 116.4 kB / 0.7533 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.6937, allocations: 327.1 kB / 0.7537 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6938, allocations: 42.56 kB / 0.7537 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.6938, allocations: 0 / 0.7537 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007666/0.6946, allocations: 277.5 kB / 0.754 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.6947, allocations: 162.2 kB / 0.7541 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.695, allocations: 283 kB / 0.7544 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.695, allocations: 29.7 kB / 0.7544 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.6951, allocations: 147.8 kB / 0.7546 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.6952, allocations: 51.67 kB / 0.7546 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.638e-05/0.6952, allocations: 41.7 kB / 0.7546 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6954, allocations: 334.8 kB / 0.755 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6956, allocations: 75.88 kB / 0.755 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.6958, allocations: 148.5 kB / 0.7552 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.6962, allocations: 218.9 kB / 0.7554 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6962, allocations: 0 / 0.7554 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004946/0.6967, allocations: 237.1 kB / 0.7556 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6967, allocations: 8 kB / 0.7556 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6967, allocations: 256 / 0.7556 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6967, allocations: 8 kB / 0.7556 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.697, allocations: 39.92 kB / 0.7557 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.697, allocations: 11.92 kB / 0.7557 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.6972, allocations: 31.67 kB / 0.7557 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.6972, allocations: 12 kB / 0.7557 GB, free: 12.91 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.0001439/0.6974, allocations: 149.8 kB / 0.7559 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6975, allocations: 23.72 kB / 0.7559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.698, allocations: 193.8 kB / 0.7561 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.698, allocations: 4 kB / 0.7561 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.698, allocations: 0 / 0.7561 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.698, allocations: 7.875 kB / 0.7561 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.699, allocations: 0.8511 MB / 0.7569 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.699, allocations: 0 / 0.7569 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.6992, allocations: 31.86 kB / 0.7569 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6992, allocations: 0 / 0.7569 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.6992, allocations: 8 kB / 0.757 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6992, allocations: 0 / 0.757 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6992, allocations: 4 kB / 0.757 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.6998, allocations: 335.6 kB / 0.7573 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6999, allocations: 124.7 kB / 0.7574 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.7, allocations: 4.062 kB / 0.7574 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.7001, allocations: 8 kB / 0.7574 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.7002, allocations: 15.92 kB / 0.7574 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.7002, allocations: 7 kB / 0.7574 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002215/0.7004, allocations: 233.9 kB / 0.7577 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7004, allocations: 0 / 0.7577 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004784/0.7009, allocations: 95.98 kB / 0.7577 GB, free: 10.7 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.0005177/0.7014, allocations: 221.1 kB / 0.758 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003916/0.7018, allocations: 152 kB / 0.7581 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7019, allocations: 0 / 0.7581 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.702, allocations: 63.92 kB / 0.7582 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.7028, allocations: 138.2 kB / 0.7583 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/0.7036, allocations: 0.5701 MB / 0.7588 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.7039, allocations: 0.7596 MB / 0.7596 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001992/0.7041, allocations: 62.55 kB / 0.7597 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.7042, allocations: 31.44 kB / 0.7597 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7042, allocations: 0 / 0.7597 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.01012/0.7143, allocations: 5.724 MB / 0.7653 GB, free: 3.047 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)