Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7919/0.7919, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002434, allocations: 15.98 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 31.32 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_p): time 1.536/1.675, allocations: 291.2 MB / 0.5149 GB, free: 10.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03644/1.711, allocations: 32.96 MB / 0.547 GB, free: 9.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/1.711, allocations: 8 kB / 0.547 GB, free: 9.941 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/1.712, allocations: 107.5 kB / 0.5472 GB, free: 9.836 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/1.712, allocations: 35.75 kB / 0.5472 GB, free: 9.801 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01643/1.728, allocations: 6.111 MB / 0.5532 GB, free: 3.688 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/1.728, allocations: 127.4 kB / 0.5533 GB, free: 3.562 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/1.728, allocations: 25.05 kB / 0.5533 GB, free: 3.539 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/1.729, allocations: 59.61 kB / 0.5534 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/1.729, allocations: 39.78 kB / 0.5534 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/1.729, allocations: 0 / 0.5534 GB, free: 3.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02416/1.753, allocations: 14.65 MB / 0.5677 GB, free: 4.777 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/1.753, allocations: 15.92 kB / 0.5677 GB, free: 4.762 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/1.753, allocations: 39.75 kB / 0.5677 GB, free: 4.723 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.767, allocations: 7.279 MB / 0.5749 GB, free: 13.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.768, allocations: 0 / 0.5749 GB, free: 13.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.71e-07/1.768, allocations: 0 / 0.5749 GB, free: 13.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/1.768, allocations: 4 kB / 0.5749 GB, free: 13.42 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002898/1.77, allocations: 1.154 MB / 0.576 GB, free: 12.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/1.77, allocations: 12.03 kB / 0.576 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/1.771, allocations: 15.78 kB / 0.576 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/1.771, allocations: 170.9 kB / 0.5762 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.771, allocations: 8 kB / 0.5762 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/1.771, allocations: 4 kB / 0.5762 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/1.771, allocations: 90.66 kB / 0.5763 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/1.771, allocations: 0 / 0.5763 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.771, allocations: 4 kB / 0.5763 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/1.771, allocations: 7.984 kB / 0.5763 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/1.771, allocations: 111.8 kB / 0.5764 GB, free: 11.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/1.771, allocations: 221.4 kB / 0.5766 GB, free: 11.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/1.771, allocations: 106.5 kB / 0.5767 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.426e-05/1.772, allocations: 75.08 kB / 0.5768 GB, free: 11.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1167/1.888, allocations: 56.04 MB / 0.6315 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.888, allocations: 38.56 kB / 0.6315 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/1.888, allocations: 0 / 0.6315 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0003918/1.889, allocations: 233.4 kB / 0.6318 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/1.889, allocations: 55.41 kB / 0.6318 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/1.889, allocations: 97.84 kB / 0.6319 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.889, allocations: 33.7 kB / 0.6319 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/1.889, allocations: 80.7 kB / 0.632 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/1.889, allocations: 94.5 kB / 0.6321 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/1.889, allocations: 37.7 kB / 0.6321 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/1.889, allocations: 322.8 kB / 0.6325 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.555e-05/1.889, allocations: 43.98 kB / 0.6325 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/1.889, allocations: 54.48 kB / 0.6326 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/1.889, allocations: 121.8 kB / 0.6327 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.889, allocations: 3.938 kB / 0.6327 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000205/1.89, allocations: 173.4 kB / 0.6328 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.89, allocations: 7.984 kB / 0.6328 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.89, allocations: 0 / 0.6328 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.89, allocations: 8 kB / 0.6329 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/1.89, allocations: 12 kB / 0.6329 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/1.89, allocations: 0 / 0.6329 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/1.89, allocations: 11.84 kB / 0.6329 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.89, allocations: 0 / 0.6329 GB, free: 11.68 MB / 0.5261 GB 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): 10 * 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 8.461e-05/1.89, allocations: 125.8 kB / 0.633 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/1.89, allocations: 11.81 kB / 0.633 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/1.89, allocations: 214.5 kB / 0.6332 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.89, allocations: 4 kB / 0.6332 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.89, allocations: 3.984 kB / 0.6332 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.89, allocations: 2.906 kB / 0.6332 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/1.891, allocations: 221.4 kB / 0.6334 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.891, allocations: 0 / 0.6334 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/1.891, allocations: 16 kB / 0.6334 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.891, allocations: 0 / 0.6334 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.891, allocations: 11.98 kB / 0.6335 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.891, allocations: 4 kB / 0.6335 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.891, allocations: 3.938 kB / 0.6335 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/1.891, allocations: 0.8659 MB / 0.6343 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/1.891, allocations: 88.95 kB / 0.6344 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/1.891, allocations: 8 kB / 0.6344 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/1.891, allocations: 7.938 kB / 0.6344 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/1.891, allocations: 7.984 kB / 0.6344 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.891, allocations: 8 kB / 0.6344 GB, free: 9.941 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.812e-05/1.892, allocations: 79.27 kB / 0.6345 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.892, allocations: 0 / 0.6345 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002257/1.894, allocations: 1.038 MB / 0.6355 GB, free: 8.824 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 (12): * Single equations (assignments): 10 * 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.003904/1.898, allocations: 1.622 MB / 0.6371 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002274/1.898, allocations: 131.9 kB / 0.6372 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.898, allocations: 4 kB / 0.6372 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/1.898, allocations: 67.98 kB / 0.6373 GB, free: 7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/1.898, allocations: 53.69 kB / 0.6373 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/1.899, allocations: 0.5448 MB / 0.6379 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/1.899, allocations: 0.7119 MB / 0.6386 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.097e-05/1.899, allocations: 8.656 kB / 0.6386 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/1.9, allocations: 19.44 kB / 0.6386 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/1.9, allocations: 0 / 0.6386 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of Templates: time 0.04353/1.943, allocations: 36.62 MB / 0.6744 GB, free: 0.9492 MB / 0.5573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)