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.8358/0.8358, allocations: 150.9 MB / 166.5 MB, free: 14.14 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004633, allocations: 17.17 kB / 237.1 MB, free: 1.871 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.066/0.06648, allocations: 31.35 MB / 268.4 MB, free: 7.059 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.606/1.673, allocations: 293.6 MB / 0.5489 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004226/1.677, allocations: 3.69 MB / 0.5525 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/1.677, allocations: 4 kB / 0.5525 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/1.677, allocations: 3.938 kB / 0.5525 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/1.677, allocations: 15.8 kB / 0.5525 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/1.679, allocations: 0.7225 MB / 0.5532 GB, free: 9.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.083e-05/1.679, allocations: 59.64 kB / 0.5533 GB, free: 9.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/1.679, allocations: 19.97 kB / 0.5533 GB, free: 9.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/1.679, allocations: 23.94 kB / 0.5533 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/1.679, allocations: 31.89 kB / 0.5533 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/1.679, allocations: 0 / 0.5533 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/1.68, allocations: 0.6009 MB / 0.5539 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/1.68, allocations: 8 kB / 0.5539 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/1.68, allocations: 27.8 kB / 0.554 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008556/1.681, allocations: 0.603 MB / 0.5545 GB, free: 8.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.681, allocations: 4 kB / 0.5545 GB, free: 8.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.096e-06/1.681, allocations: 3.984 kB / 0.5545 GB, free: 8.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/1.681, allocations: 0 / 0.5545 GB, free: 8.418 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.0005249/1.682, allocations: 436.7 kB / 0.555 GB, free: 7.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.682, allocations: 12.03 kB / 0.555 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/1.682, allocations: 3.938 kB / 0.555 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.682, allocations: 174.9 kB / 0.5551 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/1.682, allocations: 4 kB / 0.5552 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/1.682, allocations: 4 kB / 0.5552 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/1.682, allocations: 61.67 kB / 0.5552 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/1.682, allocations: 0 / 0.5552 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.682, allocations: 7.984 kB / 0.5552 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.682, allocations: 0 / 0.5552 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/1.682, allocations: 71.88 kB / 0.5553 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/1.683, allocations: 439 kB / 0.5557 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.683, allocations: 58.56 kB / 0.5558 GB, free: 6.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/1.683, allocations: 32.84 kB / 0.5558 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002669/1.686, allocations: 3.301 MB / 0.559 GB, free: 2.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.686, allocations: 38.75 kB / 0.5591 GB, free: 2.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.995e-06/1.686, allocations: 0 / 0.5591 GB, free: 2.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002617/1.686, allocations: 113.7 kB / 0.5592 GB, free: 2.766 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/1.686, allocations: 55.34 kB / 0.5592 GB, free: 2.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/1.686, allocations: 106 kB / 0.5593 GB, free: 2.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/1.686, allocations: 25.7 kB / 0.5593 GB, free: 2.555 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/1.686, allocations: 95.98 kB / 0.5594 GB, free: 2.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/1.686, allocations: 31.55 kB / 0.5595 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/1.686, allocations: 25.7 kB / 0.5595 GB, free: 2.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/1.686, allocations: 314.8 kB / 0.5598 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/1.686, allocations: 23.98 kB / 0.5598 GB, free: 2.055 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/1.686, allocations: 22.25 kB / 0.5598 GB, free: 2.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/1.687, allocations: 56.84 kB / 0.5599 GB, free: 1.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.687, allocations: 0 / 0.5599 GB, free: 1.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001668/1.687, allocations: 101.8 kB / 0.56 GB, free: 1.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.687, allocations: 4 kB / 0.56 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.687, allocations: 0 / 0.56 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.687, allocations: 7.938 kB / 0.56 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.687, allocations: 19.98 kB / 0.56 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.687, allocations: 4 kB / 0.56 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.779e-05/1.687, allocations: 3.906 kB / 0.56 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.687, allocations: 4 kB / 0.56 GB, free: 1.828 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.664e-05/1.687, allocations: 113.8 kB / 0.5601 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/1.687, allocations: 0 / 0.5601 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/1.687, allocations: 137.8 kB / 0.5603 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.687, allocations: 7.984 kB / 0.5603 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.687, allocations: 4 kB / 0.5603 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.687, allocations: 0 / 0.5603 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/1.688, allocations: 177.6 kB / 0.5604 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.688, allocations: 96 / 0.5604 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/1.688, allocations: 23.92 kB / 0.5605 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.688, allocations: 0 / 0.5605 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.688, allocations: 7.938 kB / 0.5605 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.688, allocations: 0 / 0.5605 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.688, allocations: 3.938 kB / 0.5605 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/1.688, allocations: 195.4 kB / 0.5607 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/1.688, allocations: 77.11 kB / 0.5607 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/1.688, allocations: 3.938 kB / 0.5607 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/1.688, allocations: 4 kB / 0.5607 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/1.688, allocations: 7.984 kB / 0.5608 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/1.688, allocations: 4 kB / 0.5608 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.827e-05/1.688, allocations: 87.28 kB / 0.5608 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.688, allocations: 0 / 0.5608 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004571/1.689, allocations: 171.8 kB / 0.561 GB, free: 0.7188 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.000646/1.689, allocations: 414.2 kB / 0.5614 GB, free: 316 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/1.689, allocations: 55.92 kB / 0.5615 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.689, allocations: 0 / 0.5615 GB, free: 260 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/1.69, allocations: 35.92 kB / 0.5615 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/1.69, allocations: 15.98 kB / 0.5615 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/1.69, allocations: 175.6 kB / 0.5617 GB, free: 4 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/1.69, allocations: 0.6889 MB / 0.5623 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/1.691, allocations: 20.36 kB / 0.5624 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/1.691, allocations: 19.42 kB / 0.5624 GB, free: 15.25 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/1.691, allocations: 0 / 0.5624 GB, free: 15.25 MB / 462.1 MB Notification: Performance of Templates: time 0.00855/1.699, allocations: 5.348 MB / 0.5676 GB, free: 9.902 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)