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.9112/0.9112, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 15.23 kB / 237.1 MB, free: 1.801 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04988/0.05022, allocations: 31.34 MB / 268.4 MB, free: 7.086 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.57/1.62, allocations: 293.7 MB / 0.549 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/1.624, allocations: 3.281 MB / 0.5522 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/1.624, allocations: 0 / 0.5522 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/1.624, allocations: 3.984 kB / 0.5522 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/1.624, allocations: 27.78 kB / 0.5522 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/1.625, allocations: 421.8 kB / 0.5526 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.817e-05/1.625, allocations: 59.66 kB / 0.5527 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/1.625, allocations: 23.95 kB / 0.5527 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/1.625, allocations: 15.94 kB / 0.5527 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/1.626, allocations: 27.91 kB / 0.5527 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/1.626, allocations: 4 kB / 0.5527 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/1.626, allocations: 351.5 kB / 0.5531 GB, free: 9.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/1.626, allocations: 15.92 kB / 0.5531 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/1.626, allocations: 23.86 kB / 0.5531 GB, free: 9.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/1.627, allocations: 377.8 kB / 0.5535 GB, free: 9.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.627, allocations: 4 kB / 0.5535 GB, free: 9.422 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/1.627, allocations: 0 / 0.5535 GB, free: 9.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/1.627, allocations: 0 / 0.5535 GB, free: 9.422 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.0004559/1.627, allocations: 414.7 kB / 0.5539 GB, free: 8.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/1.627, allocations: 8.031 kB / 0.5539 GB, free: 8.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/1.627, allocations: 8.891 kB / 0.5539 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/1.628, allocations: 172.2 kB / 0.5541 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.628, allocations: 4.375 kB / 0.5541 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/1.628, allocations: 4.375 kB / 0.5541 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.628, allocations: 69.98 kB / 0.5541 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.628, allocations: 0 / 0.5541 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/1.628, allocations: 0 / 0.5541 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.628, allocations: 0 / 0.5541 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/1.628, allocations: 87.89 kB / 0.5542 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/1.628, allocations: 177.5 kB / 0.5544 GB, free: 8.355 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/1.628, allocations: 74.5 kB / 0.5544 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/1.628, allocations: 36.83 kB / 0.5545 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/1.63, allocations: 2.628 MB / 0.5571 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.63, allocations: 34.5 kB / 0.5571 GB, free: 4.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/1.63, allocations: 0 / 0.5571 GB, free: 4.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002485/1.63, allocations: 117.9 kB / 0.5572 GB, free: 4.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.63, allocations: 51.41 kB / 0.5572 GB, free: 4.789 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/1.631, allocations: 105.8 kB / 0.5573 GB, free: 4.676 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/1.631, allocations: 25.7 kB / 0.5574 GB, free: 4.645 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/1.631, allocations: 84.14 kB / 0.5575 GB, free: 4.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/1.631, allocations: 39.69 kB / 0.5575 GB, free: 4.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/1.631, allocations: 21.72 kB / 0.5575 GB, free: 4.492 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/1.631, allocations: 318.8 kB / 0.5578 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/1.631, allocations: 20 kB / 0.5578 GB, free: 4.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/1.631, allocations: 19.98 kB / 0.5579 GB, free: 4.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.278e-05/1.631, allocations: 57.44 kB / 0.5579 GB, free: 4.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.631, allocations: 0 / 0.5579 GB, free: 4.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/1.631, allocations: 93.52 kB / 0.558 GB, free: 3.977 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.631, allocations: 15.92 kB / 0.558 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/1.631, allocations: 0 / 0.558 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/1.631, allocations: 0 / 0.558 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/1.631, allocations: 19.94 kB / 0.558 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.631, allocations: 0 / 0.558 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/1.631, allocations: 19.92 kB / 0.558 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/1.631, allocations: 0 / 0.558 GB, free: 3.922 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.773e-05/1.631, allocations: 113.8 kB / 0.5582 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/1.631, allocations: 11.89 kB / 0.5582 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/1.632, allocations: 136.4 kB / 0.5583 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.632, allocations: 0 / 0.5583 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.632, allocations: 4 kB / 0.5583 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.632, allocations: 0 / 0.5583 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/1.632, allocations: 185.6 kB / 0.5585 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.632, allocations: 4 kB / 0.5585 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/1.632, allocations: 19.98 kB / 0.5585 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.632, allocations: 7.938 kB / 0.5585 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.632, allocations: 0 / 0.5585 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.632, allocations: 0 / 0.5585 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.632, allocations: 3.938 kB / 0.5585 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/1.632, allocations: 129.1 kB / 0.5586 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/1.632, allocations: 92.98 kB / 0.5587 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/1.632, allocations: 4 kB / 0.5587 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/1.632, allocations: 0 / 0.5587 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/1.632, allocations: 7.984 kB / 0.5587 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/1.632, allocations: 4 kB / 0.5587 GB, free: 3.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/1.632, allocations: 87.22 kB / 0.5588 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.632, allocations: 0 / 0.5588 GB, free: 3.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003241/1.633, allocations: 115.6 kB / 0.5589 GB, free: 2.91 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.0004628/1.633, allocations: 314.9 kB / 0.5592 GB, free: 2.594 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/1.633, allocations: 63.97 kB / 0.5593 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.633, allocations: 0 / 0.5593 GB, free: 2.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/1.633, allocations: 39.92 kB / 0.5593 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/1.634, allocations: 18.61 kB / 0.5594 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/1.634, allocations: 179.5 kB / 0.5595 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/1.634, allocations: 0.6923 MB / 0.5602 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.477e-05/1.634, allocations: 20.34 kB / 0.5602 GB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/1.634, allocations: 15.44 kB / 0.5602 GB, free: 1.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/1.634, allocations: 0 / 0.5602 GB, free: 1.52 MB / 446.1 MB Notification: Performance of Templates: time 0.006425/1.641, allocations: 3.715 MB / 0.5639 GB, free: 13.81 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)