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.005242/0.005242, allocations: 100 kB / 15.73 MB, free: 5.965 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.001143/0.001143, allocations: 198.7 kB / 16.68 MB, free: 5.887 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.83/0.83, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 71.31 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1499, allocations: 80.93 MB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.6113/0.7612, allocations: 163.2 MB / 0.8241 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006621/0.7678, allocations: 4.588 MB / 0.8285 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005457/0.7684, allocations: 8.656 kB / 0.8285 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.7691, allocations: 130.5 kB / 0.8287 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.7708, allocations: 0.5555 MB / 0.8292 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.773, allocations: 0.7851 MB / 0.83 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.7738, allocations: 0.5809 MB / 0.8305 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.7743, allocations: 216.2 kB / 0.8307 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.7755, allocations: 472.9 kB / 0.8312 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.7762, allocations: 299 kB / 0.8315 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.7762, allocations: 18.16 kB / 0.8315 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.778, allocations: 1.005 MB / 0.8325 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.7782, allocations: 86.69 kB / 0.8326 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.7784, allocations: 120.8 kB / 0.8327 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.7799, allocations: 0.733 MB / 0.8334 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7799, allocations: 0 / 0.8334 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7799, allocations: 0 / 0.8334 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.7799, allocations: 0 / 0.8334 GB, free: 12.35 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.001223/0.7812, allocations: 0.5891 MB / 0.834 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.7812, allocations: 9.203 kB / 0.834 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007355/0.7819, allocations: 79.44 kB / 0.8341 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.7824, allocations: 298.3 kB / 0.8343 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.7824, allocations: 14.83 kB / 0.8344 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.7825, allocations: 23.44 kB / 0.8344 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.783, allocations: 285.2 kB / 0.8347 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.783, allocations: 2.531 kB / 0.8347 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.7831, allocations: 10.47 kB / 0.8347 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.7831, allocations: 4.906 kB / 0.8347 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.7836, allocations: 203.2 kB / 0.8349 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.7857, allocations: 1.232 MB / 0.8361 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.786, allocations: 178.9 kB / 0.8362 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.7862, allocations: 113.6 kB / 0.8363 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007556/0.787, allocations: 332.9 kB / 0.8367 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.787, allocations: 41.44 kB / 0.8367 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.787, allocations: 0 / 0.8367 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008108/0.7878, allocations: 289.6 kB / 0.837 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.7879, allocations: 156.6 kB / 0.8371 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.7882, allocations: 292 kB / 0.8374 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.7883, allocations: 25.7 kB / 0.8374 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.7884, allocations: 144.2 kB / 0.8376 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.7885, allocations: 50.58 kB / 0.8376 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.7885, allocations: 41.17 kB / 0.8377 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.7887, allocations: 338.5 kB / 0.838 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.7889, allocations: 67 kB / 0.838 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.7891, allocations: 146.9 kB / 0.8382 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.7895, allocations: 220.8 kB / 0.8384 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7895, allocations: 2.625 kB / 0.8384 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005159/0.79, allocations: 238.3 kB / 0.8386 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.79, allocations: 11.59 kB / 0.8386 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7901, allocations: 3.984 kB / 0.8386 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7901, allocations: 2.719 kB / 0.8386 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.7903, allocations: 37.52 kB / 0.8387 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.7903, allocations: 6.969 kB / 0.8387 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.7905, allocations: 31.92 kB / 0.8387 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.7905, allocations: 7.875 kB / 0.8387 GB, free: 7.82 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.0001439/0.7907, allocations: 147.8 kB / 0.8389 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.7909, allocations: 31.09 kB / 0.8389 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.7913, allocations: 190.9 kB / 0.8391 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7913, allocations: 2.438 kB / 0.8391 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.7913, allocations: 6.484 kB / 0.8391 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.7914, allocations: 3.938 kB / 0.8391 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.7923, allocations: 0.8457 MB / 0.8399 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7923, allocations: 6.531 kB / 0.8399 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.7925, allocations: 27.73 kB / 0.8399 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.7925, allocations: 2.562 kB / 0.8399 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.7925, allocations: 2.469 kB / 0.8399 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7925, allocations: 1.844 kB / 0.8399 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7925, allocations: 7.25 kB / 0.84 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.7931, allocations: 339.1 kB / 0.8403 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.7932, allocations: 121.3 kB / 0.8404 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.7933, allocations: 6.188 kB / 0.8404 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.7934, allocations: 8.641 kB / 0.8404 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.7935, allocations: 13.64 kB / 0.8404 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.7935, allocations: 2.094 kB / 0.8404 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002191/0.7937, allocations: 232.5 kB / 0.8406 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7937, allocations: 2.094 kB / 0.8406 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004954/0.7942, allocations: 90.94 kB / 0.8407 GB, free: 6.125 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.0005942/0.7948, allocations: 231.1 kB / 0.841 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.7953, allocations: 150 kB / 0.8411 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7953, allocations: 0 / 0.8411 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.7954, allocations: 62.33 kB / 0.8412 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.7962, allocations: 141.2 kB / 0.8413 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.7971, allocations: 0.4938 MB / 0.8418 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.7975, allocations: 0.7607 MB / 0.8425 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.7978, allocations: 62.38 kB / 0.8426 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.7978, allocations: 22.12 kB / 0.8426 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.7978, allocations: 0 / 0.8426 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.01119/0.809, allocations: 5.836 MB / 0.8483 GB, free: 1.73 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)