Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8166/0.8166, allocations: 150.8 MB / 166.6 MB, free: 11.15 MB / 138.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003417, allocations: 11.97 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 31.33 MB / 236 MB, free: 3.883 MB / 186.7 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_h): time 1.866/2.037, allocations: 291.2 MB / 0.5148 GB, free: 10.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03816/2.076, allocations: 32.58 MB / 0.5467 GB, free: 10.37 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/2.076, allocations: 0 / 0.5467 GB, free: 10.37 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/2.076, allocations: 115.5 kB / 0.5468 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/2.077, allocations: 35.7 kB / 0.5468 GB, free: 10.22 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/2.094, allocations: 6.027 MB / 0.5527 GB, free: 4.191 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/2.094, allocations: 123.4 kB / 0.5528 GB, free: 4.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/2.094, allocations: 15.97 kB / 0.5528 GB, free: 4.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/2.094, allocations: 55.61 kB / 0.5529 GB, free: 4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.466e-05/2.094, allocations: 39.78 kB / 0.5529 GB, free: 3.961 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/2.094, allocations: 8 kB / 0.5529 GB, free: 3.953 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02417/2.118, allocations: 14.58 MB / 0.5672 GB, free: 5.352 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/2.118, allocations: 19.91 kB / 0.5672 GB, free: 5.332 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/2.118, allocations: 35.75 kB / 0.5672 GB, free: 5.297 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/2.133, allocations: 7.205 MB / 0.5742 GB, free: 14.07 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/2.133, allocations: 4 kB / 0.5742 GB, free: 14.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.062e-06/2.133, allocations: 0 / 0.5742 GB, free: 14.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/2.133, allocations: 0 / 0.5742 GB, free: 14.07 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.002845/2.136, allocations: 1.136 MB / 0.5754 GB, free: 12.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/2.136, allocations: 11.97 kB / 0.5754 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/2.136, allocations: 15.83 kB / 0.5754 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/2.136, allocations: 178.8 kB / 0.5756 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/2.136, allocations: 0 / 0.5756 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/2.136, allocations: 8 kB / 0.5756 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/2.136, allocations: 127.5 kB / 0.5757 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/2.136, allocations: 3.938 kB / 0.5757 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/2.136, allocations: 0 / 0.5757 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/2.136, allocations: 11.98 kB / 0.5757 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/2.136, allocations: 51.86 kB / 0.5757 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/2.174, allocations: 15.45 MB / 0.5908 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/2.174, allocations: 90.17 kB / 0.5909 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/2.174, allocations: 56.91 kB / 0.591 GB, free: 11.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0802/2.254, allocations: 40.42 MB / 0.6305 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/2.255, allocations: 34.56 kB / 0.6305 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=23): time 1.913e-06/2.255, allocations: 0 / 0.6305 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.0003338/2.255, allocations: 189.7 kB / 0.6307 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/2.255, allocations: 59.28 kB / 0.6307 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/2.255, allocations: 117.8 kB / 0.6308 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/2.255, allocations: 25.7 kB / 0.6309 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/2.255, allocations: 104.4 kB / 0.631 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/2.255, allocations: 74.84 kB / 0.631 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/2.255, allocations: 33.7 kB / 0.6311 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001065/2.255, allocations: 322.8 kB / 0.6314 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/2.255, allocations: 40.22 kB / 0.6314 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/2.255, allocations: 93.52 kB / 0.6315 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/2.256, allocations: 137.1 kB / 0.6316 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/2.256, allocations: 0 / 0.6316 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002319/2.256, allocations: 185.2 kB / 0.6318 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/2.256, allocations: 4 kB / 0.6318 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/2.256, allocations: 0 / 0.6318 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/2.256, allocations: 4 kB / 0.6318 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/2.256, allocations: 12 kB / 0.6318 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/2.256, allocations: 3.938 kB / 0.6318 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/2.256, allocations: 15.83 kB / 0.6318 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/2.256, allocations: 11.94 kB / 0.6319 GB, free: 12.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.597e-05/2.256, allocations: 118 kB / 0.632 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/2.256, allocations: 7.906 kB / 0.632 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/2.256, allocations: 164.2 kB / 0.6321 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/2.256, allocations: 3.984 kB / 0.6321 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/2.256, allocations: 3.938 kB / 0.6321 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/2.256, allocations: 3.938 kB / 0.6321 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/2.257, allocations: 209.9 kB / 0.6323 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/2.257, allocations: 4 kB / 0.6323 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/2.257, allocations: 4.188 kB / 0.6324 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/2.257, allocations: 4 kB / 0.6324 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/2.257, allocations: 0 / 0.6324 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/2.257, allocations: 7.938 kB / 0.6324 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/2.257, allocations: 3.938 kB / 0.6324 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/2.257, allocations: 0.8224 MB / 0.6332 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/2.257, allocations: 88.89 kB / 0.6333 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/2.257, allocations: 4 kB / 0.6333 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/2.257, allocations: 3.984 kB / 0.6333 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/2.257, allocations: 0 / 0.6333 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/2.257, allocations: 4 kB / 0.6333 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.463e-05/2.258, allocations: 91.27 kB / 0.6334 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/2.258, allocations: 0 / 0.6334 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002467/2.26, allocations: 1.019 MB / 0.6343 GB, free: 10.16 MB / 0.5261 GB 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004924/2.265, allocations: 1.566 MB / 0.6359 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002482/2.265, allocations: 119.9 kB / 0.636 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/2.265, allocations: 0 / 0.636 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.916e-05/2.265, allocations: 64.23 kB / 0.6361 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/2.266, allocations: 51 kB / 0.6361 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/2.266, allocations: 0.4903 MB / 0.6366 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/2.267, allocations: 0.7157 MB / 0.6373 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.739e-05/2.267, allocations: 11.97 kB / 0.6373 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/2.267, allocations: 15.44 kB / 0.6373 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of SimCode: time 3.8e-07/2.267, allocations: 0 / 0.6373 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of Templates: time 0.04502/2.312, allocations: 35.95 MB / 0.6724 GB, free: 3.102 MB / 0.5573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)