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.7572/0.7572, allocations: 150.9 MB / 167.2 MB, free: 14.27 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 22.28 kB / 237.7 MB, free: 1.996 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04515/0.04547, allocations: 31.35 MB / 269.1 MB, free: 7.148 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.444/1.49, allocations: 293.6 MB / 0.5495 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/1.494, allocations: 3.694 MB / 0.5531 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/1.494, allocations: 0 / 0.5531 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/1.494, allocations: 3.938 kB / 0.5531 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/1.494, allocations: 7.922 kB / 0.5532 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/1.495, allocations: 0.7251 MB / 0.5539 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.254e-05/1.495, allocations: 59.64 kB / 0.5539 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/1.495, allocations: 23.95 kB / 0.5539 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/1.496, allocations: 19.94 kB / 0.554 GB, free: 9.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/1.496, allocations: 31.89 kB / 0.554 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/1.496, allocations: 0 / 0.554 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/1.497, allocations: 0.6009 MB / 0.5546 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/1.497, allocations: 11.94 kB / 0.5546 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/1.497, allocations: 31.91 kB / 0.5546 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007495/1.497, allocations: 0.608 MB / 0.5552 GB, free: 8.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.498, allocations: 0 / 0.5552 GB, free: 8.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.183e-06/1.498, allocations: 0 / 0.5552 GB, free: 8.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/1.498, allocations: 0 / 0.5552 GB, free: 8.258 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.0004264/1.498, allocations: 436.7 kB / 0.5556 GB, free: 7.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/1.498, allocations: 8.031 kB / 0.5556 GB, free: 7.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/1.498, allocations: 4 kB / 0.5556 GB, free: 7.773 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/1.498, allocations: 178.7 kB / 0.5558 GB, free: 7.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/1.498, allocations: 4 kB / 0.5558 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/1.498, allocations: 12 kB / 0.5558 GB, free: 7.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/1.498, allocations: 61.66 kB / 0.5559 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/1.498, allocations: 0 / 0.5559 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/1.498, allocations: 0 / 0.5559 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/1.498, allocations: 0 / 0.5559 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.498, allocations: 67.94 kB / 0.556 GB, free: 7.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/1.499, allocations: 442.9 kB / 0.5564 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.499, allocations: 66.56 kB / 0.5564 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/1.499, allocations: 28.84 kB / 0.5565 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002335/1.501, allocations: 3.301 MB / 0.5597 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/1.501, allocations: 38.56 kB / 0.5597 GB, free: 2.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/1.501, allocations: 0 / 0.5597 GB, free: 2.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002367/1.502, allocations: 105.6 kB / 0.5598 GB, free: 2.609 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.502, allocations: 51.41 kB / 0.5599 GB, free: 2.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/1.502, allocations: 109.8 kB / 0.56 GB, free: 2.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.502, allocations: 25.7 kB / 0.56 GB, free: 2.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/1.502, allocations: 95.98 kB / 0.5601 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/1.502, allocations: 35.55 kB / 0.5601 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/1.502, allocations: 25.7 kB / 0.5602 GB, free: 2.234 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/1.502, allocations: 314.8 kB / 0.5605 GB, free: 1.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/1.502, allocations: 19.98 kB / 0.5605 GB, free: 1.898 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/1.502, allocations: 19.98 kB / 0.5605 GB, free: 1.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/1.502, allocations: 54.97 kB / 0.5605 GB, free: 1.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.502, allocations: 0 / 0.5605 GB, free: 1.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001408/1.502, allocations: 105.6 kB / 0.5606 GB, free: 1.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.502, allocations: 12 kB / 0.5607 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/1.502, allocations: 0 / 0.5607 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.502, allocations: 4.312 kB / 0.5607 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.251e-05/1.502, allocations: 19.98 kB / 0.5607 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/1.502, allocations: 0 / 0.5607 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/1.502, allocations: 7.906 kB / 0.5607 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.502, allocations: 3.938 kB / 0.5607 GB, free: 1.668 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.21e-05/1.503, allocations: 113.8 kB / 0.5608 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/1.503, allocations: 4 kB / 0.5608 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/1.503, allocations: 129.7 kB / 0.5609 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.503, allocations: 4 kB / 0.5609 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.503, allocations: 0 / 0.5609 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.503, allocations: 0 / 0.5609 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/1.503, allocations: 177.6 kB / 0.5611 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.503, allocations: 4 kB / 0.5611 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/1.503, allocations: 15.98 kB / 0.5611 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.503, allocations: 4 kB / 0.5611 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.503, allocations: 7.938 kB / 0.5611 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.503, allocations: 0 / 0.5611 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.503, allocations: 3.984 kB / 0.5611 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.503, allocations: 195.7 kB / 0.5613 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/1.503, allocations: 81.11 kB / 0.5614 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.503, allocations: 7.938 kB / 0.5614 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/1.503, allocations: 0 / 0.5614 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/1.503, allocations: 7.984 kB / 0.5614 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.503, allocations: 8 kB / 0.5614 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.183e-05/1.503, allocations: 83.28 kB / 0.5615 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.503, allocations: 0 / 0.5615 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004058/1.504, allocations: 171.8 kB / 0.5617 GB, free: 0.5664 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.0005658/1.504, allocations: 410.8 kB / 0.5621 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001262/1.505, allocations: 59.86 kB / 0.5621 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.505, allocations: 0 / 0.5621 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/1.505, allocations: 35.92 kB / 0.5621 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.505, allocations: 20.16 kB / 0.5622 GB, free: 44 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/1.505, allocations: 209.3 kB / 0.5624 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/1.505, allocations: 0.6961 MB / 0.563 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/1.506, allocations: 15.44 kB / 0.5631 GB, free: 15.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/1.506, allocations: 0 / 0.5631 GB, free: 15.07 MB / 462.1 MB Notification: Performance of Templates: time 0.004513/1.51, allocations: 3.552 MB / 0.5665 GB, free: 11.51 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)