Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9299/0.9299, allocations: 150.9 MB / 166.5 MB, free: 14.69 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 13.12 kB / 237.1 MB, free: 1.734 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05056/0.05087, allocations: 31.35 MB / 268.4 MB, free: 7.09 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_T): time 1.607/1.658, allocations: 293.6 MB / 0.5489 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003599/1.661, allocations: 3.28 MB / 0.5521 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/1.661, allocations: 0 / 0.5521 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/1.661, allocations: 3.938 kB / 0.5521 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/1.661, allocations: 23.84 kB / 0.5521 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/1.662, allocations: 429.8 kB / 0.5525 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.228e-05/1.662, allocations: 55.67 kB / 0.5526 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/1.663, allocations: 19.97 kB / 0.5526 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/1.663, allocations: 23.86 kB / 0.5526 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/1.663, allocations: 23.91 kB / 0.5526 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/1.663, allocations: 7.938 kB / 0.5526 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/1.663, allocations: 351.6 kB / 0.553 GB, free: 9.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/1.663, allocations: 15.92 kB / 0.553 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/1.663, allocations: 27.86 kB / 0.553 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/1.664, allocations: 369 kB / 0.5534 GB, free: 9.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.664, allocations: 4 kB / 0.5534 GB, free: 9.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/1.664, allocations: 0 / 0.5534 GB, free: 9.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/1.664, allocations: 0 / 0.5534 GB, free: 9.426 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.0004372/1.664, allocations: 412.2 kB / 0.5538 GB, free: 8.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/1.664, allocations: 8.031 kB / 0.5538 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/1.664, allocations: 4.938 kB / 0.5538 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.665, allocations: 164.3 kB / 0.5539 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.665, allocations: 12.38 kB / 0.5539 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/1.665, allocations: 4.375 kB / 0.554 GB, free: 8.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.665, allocations: 65.98 kB / 0.554 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/1.665, allocations: 0 / 0.554 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/1.665, allocations: 4 kB / 0.554 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.665, allocations: 7.938 kB / 0.554 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/1.665, allocations: 83.89 kB / 0.5541 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/1.665, allocations: 181.5 kB / 0.5543 GB, free: 8.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/1.665, allocations: 74.55 kB / 0.5544 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/1.665, allocations: 28.84 kB / 0.5544 GB, free: 8.246 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/1.667, allocations: 2.624 MB / 0.5569 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/1.667, allocations: 34.5 kB / 0.557 GB, free: 4.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.775e-06/1.667, allocations: 0 / 0.557 GB, free: 4.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002474/1.667, allocations: 120 kB / 0.5571 GB, free: 4.867 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.667, allocations: 55.34 kB / 0.5571 GB, free: 4.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/1.667, allocations: 97.84 kB / 0.5572 GB, free: 4.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/1.667, allocations: 33.7 kB / 0.5573 GB, free: 4.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/1.667, allocations: 80.14 kB / 0.5573 GB, free: 4.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.667, allocations: 39.44 kB / 0.5574 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/1.667, allocations: 29.7 kB / 0.5574 GB, free: 4.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/1.668, allocations: 314.8 kB / 0.5577 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/1.668, allocations: 23.98 kB / 0.5577 GB, free: 4.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/1.668, allocations: 19.98 kB / 0.5578 GB, free: 4.141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.206e-05/1.668, allocations: 52.8 kB / 0.5578 GB, free: 4.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.668, allocations: 0 / 0.5578 GB, free: 4.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/1.668, allocations: 98.17 kB / 0.5579 GB, free: 3.984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.668, allocations: 11.88 kB / 0.5579 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/1.668, allocations: 0 / 0.5579 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/1.668, allocations: 192 / 0.5579 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/1.668, allocations: 19.98 kB / 0.5579 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/1.668, allocations: 0 / 0.5579 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/1.668, allocations: 8 kB / 0.5579 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.668, allocations: 11.92 kB / 0.5579 GB, free: 3.934 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.047e-05/1.668, allocations: 109.8 kB / 0.558 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/1.668, allocations: 11.84 kB / 0.5581 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/1.668, allocations: 133.4 kB / 0.5582 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.668, allocations: 0 / 0.5582 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.668, allocations: 0 / 0.5582 GB, free: 3.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.668, allocations: 4 kB / 0.5582 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/1.669, allocations: 181.5 kB / 0.5584 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.669, allocations: 0 / 0.5584 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/1.669, allocations: 23.92 kB / 0.5584 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.669, allocations: 7.938 kB / 0.5584 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/1.669, allocations: 4 kB / 0.5584 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.669, allocations: 0 / 0.5584 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.669, allocations: 3.984 kB / 0.5584 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/1.669, allocations: 123.8 kB / 0.5585 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/1.669, allocations: 92.89 kB / 0.5586 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/1.669, allocations: 4 kB / 0.5586 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/1.669, allocations: 4 kB / 0.5586 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/1.669, allocations: 11.92 kB / 0.5586 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/1.669, allocations: 7.938 kB / 0.5586 GB, free: 3.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/1.669, allocations: 79.28 kB / 0.5587 GB, free: 3.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.669, allocations: 3.938 kB / 0.5587 GB, free: 3.039 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003342/1.669, allocations: 115.9 kB / 0.5588 GB, free: 2.926 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 (13): * Single equations (assignments): 13 * 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.0004488/1.67, allocations: 311.2 kB / 0.5591 GB, free: 2.613 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/1.67, allocations: 67.91 kB / 0.5592 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.67, allocations: 0 / 0.5592 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/1.67, allocations: 31.98 kB / 0.5592 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/1.67, allocations: 19.41 kB / 0.5592 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/1.671, allocations: 179.5 kB / 0.5594 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/1.671, allocations: 0.6885 MB / 0.5601 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/1.671, allocations: 20.34 kB / 0.5601 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/1.671, allocations: 19.44 kB / 0.5601 GB, free: 1.543 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/1.671, allocations: 0 / 0.5601 GB, free: 1.543 MB / 446.1 MB Notification: Performance of Templates: time 0.006578/1.678, allocations: 3.718 MB / 0.5637 GB, free: 13.83 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_T.pipe 2>&1)