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.8752/0.8752, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.467e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1878, allocations: 31.98 MB / 236.8 MB, free: 5.656 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_h): time 1.679/1.866, allocations: 292.8 MB / 0.5172 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03627/1.903, allocations: 32.09 MB / 0.5485 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/1.903, allocations: 0 / 0.5485 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/1.903, allocations: 111.5 kB / 0.5486 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/1.903, allocations: 31.81 kB / 0.5487 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02136/1.925, allocations: 6.196 MB / 0.5547 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/1.925, allocations: 115.5 kB / 0.5548 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/1.925, allocations: 15.97 kB / 0.5548 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/1.925, allocations: 59.55 kB / 0.5549 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/1.925, allocations: 35.8 kB / 0.5549 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/1.925, allocations: 0 / 0.5549 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/1.956, allocations: 14.67 MB / 0.5693 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/1.956, allocations: 4 kB / 0.5693 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/1.956, allocations: 73.42 kB / 0.5693 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02029/1.976, allocations: 7.135 MB / 0.5763 GB, free: 1.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/1.976, allocations: 0 / 0.5763 GB, free: 1.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.996e-06/1.977, allocations: 0 / 0.5763 GB, free: 1.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/1.977, allocations: 0 / 0.5763 GB, free: 1.93 MB / 462.1 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.003609/1.98, allocations: 1.133 MB / 0.5774 GB, free: 0.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.98, allocations: 8.031 kB / 0.5774 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/1.98, allocations: 15.75 kB / 0.5774 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/1.98, allocations: 167 kB / 0.5776 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.98, allocations: 4 kB / 0.5776 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/1.98, allocations: 8.609 kB / 0.5776 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/1.981, allocations: 127.5 kB / 0.5777 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.981, allocations: 4 kB / 0.5777 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/1.981, allocations: 0 / 0.5777 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/1.981, allocations: 9.859 kB / 0.5777 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/1.981, allocations: 59.86 kB / 0.5778 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03744/2.018, allocations: 15.62 MB / 0.593 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/2.019, allocations: 82.55 kB / 0.5931 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/2.019, allocations: 57.72 kB / 0.5932 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0794/2.098, allocations: 40.77 MB / 0.633 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/2.098, allocations: 42.5 kB / 0.633 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.515e-06/2.098, allocations: 4 kB / 0.633 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0004287/2.099, allocations: 180.9 kB / 0.6332 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/2.099, allocations: 55.34 kB / 0.6333 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/2.099, allocations: 117.8 kB / 0.6334 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/2.099, allocations: 25.7 kB / 0.6334 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/2.099, allocations: 104.3 kB / 0.6335 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/2.099, allocations: 74.84 kB / 0.6336 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/2.099, allocations: 17.72 kB / 0.6336 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001236/2.099, allocations: 326.8 kB / 0.6339 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/2.099, allocations: 48.14 kB / 0.6339 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/2.099, allocations: 85.59 kB / 0.634 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/2.099, allocations: 141 kB / 0.6342 GB, free: 476 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/2.099, allocations: 4 kB / 0.6342 GB, free: 472 kB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002484/2.1, allocations: 173.8 kB / 0.6343 GB, free: 292 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/2.1, allocations: 4 kB / 0.6343 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/2.1, allocations: 4 kB / 0.6343 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/2.1, allocations: 4.156 kB / 0.6343 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/2.1, allocations: 19.92 kB / 0.6344 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/2.1, allocations: 7.938 kB / 0.6344 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.541e-05/2.1, allocations: 15.84 kB / 0.6344 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/2.1, allocations: 4 kB / 0.6344 GB, free: 232 kB / 0.5137 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 9.461e-05/2.1, allocations: 117.8 kB / 0.6345 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/2.1, allocations: 7.906 kB / 0.6345 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/2.1, allocations: 160.6 kB / 0.6347 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/2.1, allocations: 0 / 0.6347 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/2.1, allocations: 11.88 kB / 0.6347 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/2.1, allocations: 3.984 kB / 0.6347 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/2.101, allocations: 197.5 kB / 0.6349 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/2.101, allocations: 0 / 0.6349 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/2.101, allocations: 11.98 kB / 0.6349 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/2.101, allocations: 0 / 0.6349 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/2.101, allocations: 0 / 0.6349 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/2.101, allocations: 4 kB / 0.6349 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/2.101, allocations: 6.469 kB / 0.6349 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/2.101, allocations: 171.6 kB / 0.635 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/2.101, allocations: 92.86 kB / 0.6351 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/2.101, allocations: 7.984 kB / 0.6351 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/2.101, allocations: 0 / 0.6351 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/2.101, allocations: 3.938 kB / 0.6351 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/2.101, allocations: 4.25 kB / 0.6351 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.046e-05/2.101, allocations: 95.27 kB / 0.6352 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.004e-06/2.101, allocations: 0 / 0.6352 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003481/2.105, allocations: 0.9837 MB / 0.6362 GB, free: 14.27 MB / 0.5294 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.00517/2.11, allocations: 1.535 MB / 0.6377 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002081/2.11, allocations: 119.9 kB / 0.6378 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.11, allocations: 0 / 0.6378 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/2.11, allocations: 63.78 kB / 0.6379 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/2.111, allocations: 56.89 kB / 0.6379 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/2.111, allocations: 348 kB / 0.6383 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/2.111, allocations: 0.704 MB / 0.6389 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.452e-05/2.112, allocations: 11.92 kB / 0.639 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/2.112, allocations: 15.44 kB / 0.639 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/2.112, allocations: 0 / 0.639 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.04565/2.157, allocations: 35.37 MB / 0.6735 GB, free: 7.992 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: