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.8317/0.8317, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.689e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1723, allocations: 31.98 MB / 236.8 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d): time 1.661/1.833, allocations: 292.6 MB / 0.5169 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/1.838, allocations: 3.627 MB / 0.5205 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/1.838, allocations: 0 / 0.5205 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/1.838, allocations: 4.594 kB / 0.5205 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/1.838, allocations: 12.44 kB / 0.5205 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/1.84, allocations: 0.7443 MB / 0.5212 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/1.84, allocations: 59.66 kB / 0.5213 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.87e-05/1.84, allocations: 15.98 kB / 0.5213 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/1.84, allocations: 28.56 kB / 0.5213 GB, free: 10 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/1.84, allocations: 21.92 kB / 0.5213 GB, free: 9.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/1.84, allocations: 4 kB / 0.5213 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/1.841, allocations: 0.6974 MB / 0.522 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/1.842, allocations: 19.91 kB / 0.522 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/1.842, allocations: 49.56 kB / 0.5221 GB, free: 9.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/1.843, allocations: 0.5648 MB / 0.5226 GB, free: 8.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.843, allocations: 5.156 kB / 0.5226 GB, free: 8.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/1.843, allocations: 0 / 0.5226 GB, free: 8.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/1.843, allocations: 0 / 0.5226 GB, free: 8.641 MB / 414.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.0005983/1.843, allocations: 432.1 kB / 0.5231 GB, free: 8.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.843, allocations: 12.03 kB / 0.5231 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/1.843, allocations: 5.094 kB / 0.5231 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/1.843, allocations: 167 kB / 0.5232 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.844, allocations: 5.578 kB / 0.5232 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/1.844, allocations: 8.531 kB / 0.5232 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/1.844, allocations: 58.3 kB / 0.5233 GB, free: 7.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.844, allocations: 5.406 kB / 0.5233 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.844, allocations: 3.938 kB / 0.5233 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.844, allocations: 0 / 0.5233 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/1.844, allocations: 75.86 kB / 0.5234 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/1.844, allocations: 432.8 kB / 0.5238 GB, free: 7.289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/1.844, allocations: 66.55 kB / 0.5239 GB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/1.845, allocations: 21.8 kB / 0.5239 GB, free: 7.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002582/1.847, allocations: 3.317 MB / 0.5271 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.847, allocations: 43.73 kB / 0.5272 GB, free: 3.109 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/1.847, allocations: 0 / 0.5272 GB, free: 3.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002678/1.847, allocations: 102.3 kB / 0.5273 GB, free: 3.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.847, allocations: 55.92 kB / 0.5273 GB, free: 2.938 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/1.848, allocations: 106.3 kB / 0.5274 GB, free: 2.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.848, allocations: 29.7 kB / 0.5274 GB, free: 2.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/1.848, allocations: 88.91 kB / 0.5275 GB, free: 2.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/1.848, allocations: 32.22 kB / 0.5276 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/1.848, allocations: 21.7 kB / 0.5276 GB, free: 2.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/1.848, allocations: 312.1 kB / 0.5279 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/1.848, allocations: 19.98 kB / 0.5279 GB, free: 2.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/1.848, allocations: 25.95 kB / 0.5279 GB, free: 2.285 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/1.848, allocations: 53.59 kB / 0.528 GB, free: 2.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.848, allocations: 1.344 kB / 0.528 GB, free: 2.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001596/1.848, allocations: 97.02 kB / 0.5281 GB, free: 2.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.848, allocations: 4 kB / 0.5281 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.848, allocations: 0 / 0.5281 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.848, allocations: 4.781 kB / 0.5281 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/1.848, allocations: 23.98 kB / 0.5281 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.848, allocations: 0.8438 kB / 0.5281 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/1.848, allocations: 8.094 kB / 0.5281 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/1.848, allocations: 13.06 kB / 0.5281 GB, free: 2.082 MB / 414.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 8.682e-05/1.849, allocations: 114.3 kB / 0.5282 GB, free: 1.961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/1.849, allocations: 5.688 kB / 0.5282 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/1.849, allocations: 127 kB / 0.5284 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.849, allocations: 0 / 0.5284 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.849, allocations: 0.75 kB / 0.5284 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.849, allocations: 4 kB / 0.5284 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.849, allocations: 182.2 kB / 0.5285 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.849, allocations: 0 / 0.5285 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/1.849, allocations: 20.77 kB / 0.5285 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.849, allocations: 0 / 0.5285 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/1.849, allocations: 16.47 kB / 0.5286 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.849, allocations: 0 / 0.5286 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.849, allocations: 0.7812 kB / 0.5286 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/1.849, allocations: 185 kB / 0.5287 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/1.849, allocations: 85.02 kB / 0.5288 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.849, allocations: 4.688 kB / 0.5288 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/1.85, allocations: 4.938 kB / 0.5288 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/1.85, allocations: 7.984 kB / 0.5288 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/1.85, allocations: 5.625 kB / 0.5288 GB, free: 1.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.312e-05/1.85, allocations: 87.27 kB / 0.5289 GB, free: 1.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.85, allocations: 0 / 0.5289 GB, free: 1.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000496/1.85, allocations: 171.8 kB / 0.5291 GB, free: 0.9961 MB / 414.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.0007427/1.851, allocations: 419.1 kB / 0.5295 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/1.851, allocations: 55.97 kB / 0.5295 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.851, allocations: 0 / 0.5295 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/1.851, allocations: 37.86 kB / 0.5296 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/1.851, allocations: 17.17 kB / 0.5296 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/1.852, allocations: 215.4 kB / 0.5298 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.852, allocations: 0.6848 MB / 0.5305 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.63e-05/1.852, allocations: 17.8 kB / 0.5305 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/1.852, allocations: 23.36 kB / 0.5305 GB, free: 15.52 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/1.852, allocations: 1.375 kB / 0.5305 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Templates: time 0.008809/1.861, allocations: 5.16 MB / 0.5356 GB, free: 10.52 MB / 430.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: