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.7326/0.7326, allocations: 150.9 MB / 167.1 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 15.73 kB / 237.7 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04617/0.0465, allocations: 31.35 MB / 269 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_d): time 1.433/1.48, allocations: 293.4 MB / 0.5493 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003616/1.483, allocations: 3.684 MB / 0.5529 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/1.483, allocations: 4 kB / 0.5529 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/1.483, allocations: 3.938 kB / 0.5529 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-05/1.484, allocations: 15.84 kB / 0.5529 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/1.485, allocations: 0.7288 MB / 0.5536 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.249e-05/1.485, allocations: 59.66 kB / 0.5537 GB, free: 9.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/1.485, allocations: 15.97 kB / 0.5537 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/1.485, allocations: 23.94 kB / 0.5537 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/1.485, allocations: 31.89 kB / 0.5538 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/1.485, allocations: 0 / 0.5538 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/1.486, allocations: 0.6047 MB / 0.5543 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/1.486, allocations: 15.92 kB / 0.5544 GB, free: 8.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/1.486, allocations: 15.94 kB / 0.5544 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007664/1.487, allocations: 0.6125 MB / 0.555 GB, free: 8.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/1.487, allocations: 4 kB / 0.555 GB, free: 8.324 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/1.487, allocations: 3.938 kB / 0.555 GB, free: 8.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/1.487, allocations: 4 kB / 0.555 GB, free: 8.316 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.0004519/1.488, allocations: 431 kB / 0.5554 GB, free: 7.848 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/1.488, allocations: 12.03 kB / 0.5554 GB, free: 7.836 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/1.488, allocations: 4 kB / 0.5554 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.337e-05/1.488, allocations: 166.9 kB / 0.5556 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/1.488, allocations: 4 kB / 0.5556 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/1.488, allocations: 4 kB / 0.5556 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/1.488, allocations: 65.66 kB / 0.5556 GB, free: 7.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/1.488, allocations: 3.938 kB / 0.5556 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.488, allocations: 4 kB / 0.5557 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/1.488, allocations: 0 / 0.5557 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/1.488, allocations: 79.69 kB / 0.5557 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/1.488, allocations: 439 kB / 0.5561 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.489, allocations: 62.55 kB / 0.5562 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/1.489, allocations: 29.05 kB / 0.5562 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/1.491, allocations: 3.301 MB / 0.5595 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/1.491, allocations: 38.56 kB / 0.5595 GB, free: 2.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.491, allocations: 4 kB / 0.5595 GB, free: 2.781 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002283/1.491, allocations: 105.5 kB / 0.5596 GB, free: 2.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/1.491, allocations: 51.41 kB / 0.5596 GB, free: 2.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/1.491, allocations: 105.8 kB / 0.5597 GB, free: 2.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/1.491, allocations: 25.7 kB / 0.5598 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/1.491, allocations: 92.05 kB / 0.5599 GB, free: 2.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/1.491, allocations: 35.53 kB / 0.5599 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/1.491, allocations: 25.7 kB / 0.5599 GB, free: 2.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/1.491, allocations: 318.8 kB / 0.5602 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/1.492, allocations: 19.98 kB / 0.5602 GB, free: 1.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/1.492, allocations: 19.98 kB / 0.5603 GB, free: 1.945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/1.492, allocations: 61.22 kB / 0.5603 GB, free: 1.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.492, allocations: 0 / 0.5603 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/1.492, allocations: 93.58 kB / 0.5604 GB, free: 1.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/1.492, allocations: 4 kB / 0.5604 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/1.492, allocations: 3.938 kB / 0.5604 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.492, allocations: 7.938 kB / 0.5604 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/1.492, allocations: 19.98 kB / 0.5604 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/1.492, allocations: 7.984 kB / 0.5605 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/1.492, allocations: 7.844 kB / 0.5605 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.492, allocations: 4 kB / 0.5605 GB, free: 1.73 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 6.962e-05/1.492, allocations: 117.8 kB / 0.5606 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/1.492, allocations: 0 / 0.5606 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/1.492, allocations: 125.8 kB / 0.5607 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.492, allocations: 8 kB / 0.5607 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/1.492, allocations: 0 / 0.5607 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.492, allocations: 0 / 0.5607 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/1.493, allocations: 169.9 kB / 0.5609 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.493, allocations: 0 / 0.5609 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/1.493, allocations: 27.92 kB / 0.5609 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/1.493, allocations: 0 / 0.5609 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1.493, allocations: 7.938 kB / 0.5609 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.493, allocations: 0 / 0.5609 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/1.493, allocations: 0 / 0.5609 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/1.493, allocations: 197.3 kB / 0.5611 GB, free: 1.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/1.493, allocations: 81.05 kB / 0.5612 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/1.493, allocations: 3.938 kB / 0.5612 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.77e-05/1.493, allocations: 4 kB / 0.5612 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/1.493, allocations: 11.98 kB / 0.5612 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/1.493, allocations: 0 / 0.5612 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.426e-05/1.493, allocations: 87.27 kB / 0.5613 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.493, allocations: 0 / 0.5613 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003963/1.493, allocations: 167.9 kB / 0.5614 GB, free: 0.6406 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.0005494/1.494, allocations: 422.1 kB / 0.5618 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/1.494, allocations: 55.97 kB / 0.5619 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.494, allocations: 0 / 0.5619 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/1.494, allocations: 39.92 kB / 0.5619 GB, free: 132 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/1.494, allocations: 13.38 kB / 0.5619 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/1.495, allocations: 216.4 kB / 0.5621 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/1.495, allocations: 0.6883 MB / 0.5628 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/1.495, allocations: 15.44 kB / 0.5628 GB, free: 15.14 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/1.495, allocations: 4 kB / 0.5628 GB, free: 15.14 MB / 462.1 MB Notification: Performance of Templates: time 0.004665/1.5, allocations: 3.551 MB / 0.5663 GB, free: 11.59 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)