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.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001425/0.001425, allocations: 194.5 kB / 16.14 MB, free: 6.719 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.042/1.042, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.72 kB / 0.5047 GB, free: 5.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.187, allocations: 80.93 MB / 0.5837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4797/0.6667, allocations: 161 MB / 0.7409 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006816/0.6736, allocations: 4.636 MB / 0.7454 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006171/0.6743, allocations: 8.906 kB / 0.7454 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005526/0.6748, allocations: 101.5 kB / 0.7455 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.6764, allocations: 0.507 MB / 0.746 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.6786, allocations: 0.7113 MB / 0.7467 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.6796, allocations: 0.8154 MB / 0.7475 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.68, allocations: 178.1 kB / 0.7477 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.681, allocations: 426.3 kB / 0.7481 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006064/0.6817, allocations: 298.1 kB / 0.7484 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.6817, allocations: 16.62 kB / 0.7484 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.6838, allocations: 1.156 MB / 0.7495 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.684, allocations: 83.25 kB / 0.7496 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.6842, allocations: 120 kB / 0.7497 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.6854, allocations: 0.7705 MB / 0.7505 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6854, allocations: 0 / 0.7505 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6854, allocations: 4 kB / 0.7505 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.6855, allocations: 0 / 0.7505 GB, free: 1.957 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.001174/0.6866, allocations: 0.5961 MB / 0.751 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6867, allocations: 10.75 kB / 0.7511 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.6874, allocations: 75 kB / 0.7511 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.6878, allocations: 280.9 kB / 0.7514 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6879, allocations: 14.28 kB / 0.7514 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.6879, allocations: 25.38 kB / 0.7514 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.6885, allocations: 282.8 kB / 0.7517 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.6885, allocations: 3.938 kB / 0.7517 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.6885, allocations: 10.91 kB / 0.7517 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.6885, allocations: 5.125 kB / 0.7517 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.689, allocations: 208.4 kB / 0.7519 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.6908, allocations: 1.249 MB / 0.7531 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.6911, allocations: 170 kB / 0.7533 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.6913, allocations: 115.8 kB / 0.7534 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008224/0.6921, allocations: 332.7 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.6921, allocations: 41.25 kB / 0.7538 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.6921, allocations: 0 / 0.7538 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008298/0.693, allocations: 286.5 kB / 0.754 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.6931, allocations: 154.2 kB / 0.7542 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.6934, allocations: 287 kB / 0.7545 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.6934, allocations: 29.7 kB / 0.7545 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6936, allocations: 151.8 kB / 0.7546 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.6936, allocations: 51.28 kB / 0.7547 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.6937, allocations: 45.83 kB / 0.7547 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6939, allocations: 338.8 kB / 0.7551 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.6941, allocations: 63.95 kB / 0.7551 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.6944, allocations: 154.5 kB / 0.7553 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003852/0.6948, allocations: 216.7 kB / 0.7555 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6948, allocations: 0 / 0.7555 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005182/0.6953, allocations: 238.6 kB / 0.7557 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.6953, allocations: 8 kB / 0.7557 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.6953, allocations: 0.7031 kB / 0.7557 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6954, allocations: 4 kB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.6956, allocations: 39.97 kB / 0.7557 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.6956, allocations: 7.938 kB / 0.7558 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.6958, allocations: 31.67 kB / 0.7558 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.6958, allocations: 12 kB / 0.7558 GB, free: 12.89 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.0001713/0.696, allocations: 153.9 kB / 0.7559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.6962, allocations: 23.72 kB / 0.756 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.6967, allocations: 191.4 kB / 0.7561 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6967, allocations: 7.938 kB / 0.7562 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.6967, allocations: 3.984 kB / 0.7562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6967, allocations: 3.938 kB / 0.7562 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.6977, allocations: 0.8519 MB / 0.757 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6977, allocations: 0 / 0.757 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.6978, allocations: 23.92 kB / 0.757 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6978, allocations: 4 kB / 0.757 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.6978, allocations: 11.88 kB / 0.757 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6979, allocations: 0 / 0.757 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6979, allocations: 12.09 kB / 0.757 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.6984, allocations: 331.9 kB / 0.7574 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.6986, allocations: 120.7 kB / 0.7575 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.6986, allocations: 0 / 0.7575 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.6988, allocations: 11.98 kB / 0.7575 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.6988, allocations: 11.98 kB / 0.7575 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.6988, allocations: 4 kB / 0.7575 GB, free: 11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002399/0.6991, allocations: 234 kB / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6991, allocations: 4 kB / 0.7577 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005335/0.6996, allocations: 95.98 kB / 0.7578 GB, free: 10.67 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.0006096/0.7003, allocations: 231.4 kB / 0.758 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.7007, allocations: 147.8 kB / 0.7582 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7007, allocations: 0 / 0.7582 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.7008, allocations: 56.72 kB / 0.7582 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008126/0.7017, allocations: 132.4 kB / 0.7584 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.7026, allocations: 0.5588 MB / 0.7589 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.703, allocations: 0.756 MB / 0.7596 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.7032, allocations: 68.38 kB / 0.7597 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.7033, allocations: 23.44 kB / 0.7597 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7033, allocations: 0 / 0.7597 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.01121/0.7145, allocations: 5.574 MB / 0.7652 GB, free: 3.184 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)