Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, 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.002158/0.002158, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9827/0.9827, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 68.36 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1822, allocations: 80.92 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4818/0.664, allocations: 159.1 MB / 0.7393 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005133/0.6692, allocations: 4.501 MB / 0.7437 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.6696, allocations: 9.406 kB / 0.7437 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.67, allocations: 114.5 kB / 0.7438 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007177/0.6708, allocations: 306.7 kB / 0.7441 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.6714, allocations: 261.6 kB / 0.7443 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.672, allocations: 0.5589 MB / 0.7449 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.6723, allocations: 198.5 kB / 0.7451 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008463/0.6732, allocations: 454.5 kB / 0.7455 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.6734, allocations: 199.4 kB / 0.7457 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.6735, allocations: 16.25 kB / 0.7457 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.6736, allocations: 74.06 kB / 0.7458 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.6737, allocations: 85.91 kB / 0.7459 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.6738, allocations: 126.5 kB / 0.746 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.6742, allocations: 296.5 kB / 0.7463 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6742, allocations: 0 / 0.7463 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6742, allocations: 0 / 0.7463 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6742, allocations: 4 kB / 0.7463 GB, free: 5.098 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000747/0.675, allocations: 0.5334 MB / 0.7468 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.675, allocations: 7.75 kB / 0.7468 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.6751, allocations: 34.09 kB / 0.7468 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.6754, allocations: 272.3 kB / 0.7471 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.6754, allocations: 11.34 kB / 0.7471 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.6755, allocations: 16.47 kB / 0.7471 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.6759, allocations: 266.6 kB / 0.7474 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6759, allocations: 7.875 kB / 0.7474 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.6759, allocations: 10.62 kB / 0.7474 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6759, allocations: 11.52 kB / 0.7474 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.6763, allocations: 151.1 kB / 0.7476 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.6776, allocations: 1.363 MB / 0.7489 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.6779, allocations: 180.7 kB / 0.7491 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.6781, allocations: 96.3 kB / 0.7491 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.6785, allocations: 119.9 kB / 0.7493 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.6785, allocations: 40.81 kB / 0.7493 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.6785, allocations: 0 / 0.7493 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005862/0.6791, allocations: 206.3 kB / 0.7495 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.6792, allocations: 187.3 kB / 0.7497 GB, free: 2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.6795, allocations: 289 kB / 0.75 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.6796, allocations: 32.3 kB / 0.75 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.6797, allocations: 146.6 kB / 0.7501 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.6798, allocations: 40.23 kB / 0.7502 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.6798, allocations: 34.86 kB / 0.7502 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.68, allocations: 338.8 kB / 0.7505 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6801, allocations: 40.38 kB / 0.7506 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6803, allocations: 123.5 kB / 0.7507 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.6805, allocations: 157.8 kB / 0.7508 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6806, allocations: 2.469 kB / 0.7508 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003491/0.6809, allocations: 200.2 kB / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6809, allocations: 5.375 kB / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6809, allocations: 2.75 kB / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.681, allocations: 2.594 kB / 0.751 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.6811, allocations: 29.73 kB / 0.7511 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.6811, allocations: 0 / 0.7511 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.6813, allocations: 33.36 kB / 0.7511 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.6813, allocations: 9.562 kB / 0.7511 GB, free: 0.8516 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.000116/0.6814, allocations: 147.9 kB / 0.7512 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6816, allocations: 28.53 kB / 0.7513 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.6819, allocations: 126 kB / 0.7514 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6819, allocations: 10.91 kB / 0.7514 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6819, allocations: 0 / 0.7514 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6819, allocations: 14.3 kB / 0.7514 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.6827, allocations: 0.7666 MB / 0.7522 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6827, allocations: 2.562 kB / 0.7522 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6829, allocations: 26.64 kB / 0.7522 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.6829, allocations: 4 kB / 0.7522 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6829, allocations: 2.469 kB / 0.7522 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6829, allocations: 4.281 kB / 0.7522 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.6829, allocations: 6.203 kB / 0.7522 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.6834, allocations: 336.4 kB / 0.7525 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.501e-05/0.6835, allocations: 110.6 kB / 0.7526 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.6836, allocations: 2.969 kB / 0.7526 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6837, allocations: 17.27 kB / 0.7526 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.6838, allocations: 17.28 kB / 0.7527 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.6838, allocations: 5.656 kB / 0.7527 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001827/0.684, allocations: 207.4 kB / 0.7529 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.684, allocations: 0 / 0.7529 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000331/0.6843, allocations: 62.8 kB / 0.7529 GB, free: 15.27 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0003329/0.6846, allocations: 141.6 kB / 0.7531 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.685, allocations: 126.8 kB / 0.7532 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.685, allocations: 0 / 0.7532 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.6852, allocations: 55.41 kB / 0.7532 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.6859, allocations: 134.3 kB / 0.7534 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.6867, allocations: 0.5401 MB / 0.7539 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.6871, allocations: 0.7572 MB / 0.7546 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.6873, allocations: 61.64 kB / 0.7547 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.6873, allocations: 23.44 kB / 0.7547 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6873, allocations: 0 / 0.7547 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.007566/0.6949, allocations: 4.147 MB / 0.7588 GB, free: 9.742 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)