Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8364/0.8364, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 19.62 kB / 237.1 MB, free: 1.812 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0646/0.06505, allocations: 31.35 MB / 268.4 MB, free: 7.07 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d): time 1.751/1.816, allocations: 293.7 MB / 0.549 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/1.821, allocations: 3.686 MB / 0.5526 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/1.821, allocations: 0 / 0.5526 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/1.821, allocations: 3.938 kB / 0.5526 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.753e-05/1.821, allocations: 19.84 kB / 0.5526 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/1.823, allocations: 0.7213 MB / 0.5533 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.001e-05/1.823, allocations: 63.66 kB / 0.5534 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/1.823, allocations: 23.95 kB / 0.5534 GB, free: 9.516 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/1.823, allocations: 15.94 kB / 0.5534 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.832e-05/1.823, allocations: 31.89 kB / 0.5534 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/1.823, allocations: 4 kB / 0.5534 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/1.824, allocations: 0.6009 MB / 0.554 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/1.824, allocations: 11.97 kB / 0.554 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/1.824, allocations: 27.81 kB / 0.554 GB, free: 8.824 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000971/1.825, allocations: 0.6107 MB / 0.5546 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.825, allocations: 0 / 0.5546 GB, free: 8.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/1.825, allocations: 0 / 0.5546 GB, free: 8.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/1.825, allocations: 0 / 0.5546 GB, free: 8.219 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005011/1.826, allocations: 446.2 kB / 0.5551 GB, free: 7.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/1.826, allocations: 12.03 kB / 0.5551 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.826, allocations: 15.88 kB / 0.5551 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.826, allocations: 167 kB / 0.5553 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/1.826, allocations: 0 / 0.5553 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/1.826, allocations: 4 kB / 0.5553 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.826, allocations: 65.66 kB / 0.5553 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.826, allocations: 0 / 0.5553 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.826, allocations: 0 / 0.5553 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.826, allocations: 4 kB / 0.5553 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.826, allocations: 67.88 kB / 0.5554 GB, free: 7.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/1.827, allocations: 446.9 kB / 0.5558 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/1.827, allocations: 62.55 kB / 0.5559 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.34e-05/1.827, allocations: 28.86 kB / 0.5559 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002533/1.829, allocations: 3.305 MB / 0.5591 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.83, allocations: 30.75 kB / 0.5592 GB, free: 2.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.916e-06/1.83, allocations: 0 / 0.5592 GB, free: 2.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002549/1.83, allocations: 105.5 kB / 0.5593 GB, free: 2.562 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.83, allocations: 59.34 kB / 0.5593 GB, free: 2.492 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/1.83, allocations: 113.8 kB / 0.5594 GB, free: 2.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.83, allocations: 25.7 kB / 0.5595 GB, free: 2.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/1.83, allocations: 84.09 kB / 0.5595 GB, free: 2.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/1.83, allocations: 39.67 kB / 0.5596 GB, free: 2.215 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/1.83, allocations: 29.7 kB / 0.5596 GB, free: 2.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/1.83, allocations: 318.8 kB / 0.5599 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/1.83, allocations: 19.98 kB / 0.5599 GB, free: 1.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/1.83, allocations: 19.98 kB / 0.5599 GB, free: 1.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/1.83, allocations: 52.86 kB / 0.56 GB, free: 1.766 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.83, allocations: 256 / 0.56 GB, free: 1.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001646/1.831, allocations: 102.2 kB / 0.5601 GB, free: 1.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.831, allocations: 4 kB / 0.5601 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.831, allocations: 4 kB / 0.5601 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.831, allocations: 3.938 kB / 0.5601 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.831, allocations: 23.92 kB / 0.5601 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.831, allocations: 4 kB / 0.5601 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/1.831, allocations: 11.89 kB / 0.5601 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/1.831, allocations: 4 kB / 0.5601 GB, free: 1.605 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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 7.52e-05/1.831, allocations: 113.8 kB / 0.5603 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/1.831, allocations: 7.953 kB / 0.5603 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/1.831, allocations: 121.8 kB / 0.5604 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/1.831, allocations: 0 / 0.5604 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.831, allocations: 0 / 0.5604 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.831, allocations: 0 / 0.5604 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/1.831, allocations: 189.5 kB / 0.5606 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.831, allocations: 0 / 0.5606 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/1.831, allocations: 19.98 kB / 0.5606 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.831, allocations: 0 / 0.5606 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/1.831, allocations: 3.938 kB / 0.5606 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.831, allocations: 0 / 0.5606 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.832, allocations: 7.938 kB / 0.5606 GB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/1.832, allocations: 179.5 kB / 0.5608 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/1.832, allocations: 85.06 kB / 0.5608 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.832, allocations: 11.94 kB / 0.5608 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/1.832, allocations: 0 / 0.5608 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/1.832, allocations: 7.984 kB / 0.5609 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/1.832, allocations: 4 kB / 0.5609 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/1.832, allocations: 87.27 kB / 0.5609 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.832, allocations: 0 / 0.5609 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004532/1.832, allocations: 167.5 kB / 0.5611 GB, free: 0.5156 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 11 * 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.0006922/1.833, allocations: 421.8 kB / 0.5615 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/1.833, allocations: 63.91 kB / 0.5616 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.833, allocations: 0 / 0.5616 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.259e-05/1.833, allocations: 31.92 kB / 0.5616 GB, free: 4 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.834, allocations: 23.2 kB / 0.5616 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/1.834, allocations: 187.5 kB / 0.5618 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.834, allocations: 0.6922 MB / 0.5625 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.301e-05/1.834, allocations: 16.28 kB / 0.5625 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/1.834, allocations: 27.42 kB / 0.5625 GB, free: 15.01 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/1.834, allocations: 0 / 0.5625 GB, free: 15.01 MB / 462.1 MB Notification: Performance of Templates: time 0.008475/1.843, allocations: 5.342 MB / 0.5677 GB, free: 9.672 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)