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.8518/0.8518, allocations: 150.9 MB / 166.5 MB, free: 14.71 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 14.17 kB / 237.1 MB, free: 1.723 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05138/0.0517, allocations: 31.35 MB / 268.4 MB, free: 7.09 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_p): time 1.594/1.645, allocations: 293.9 MB / 0.5491 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03372/1.679, allocations: 30.42 MB / 0.5789 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/1.679, allocations: 0 / 0.5789 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/1.68, allocations: 147 kB / 0.579 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/1.68, allocations: 39.69 kB / 0.579 GB, free: 15.08 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02051/1.7, allocations: 8.072 MB / 0.5869 GB, free: 6.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/1.7, allocations: 127.4 kB / 0.587 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.207e-05/1.701, allocations: 25.03 kB / 0.5871 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/1.701, allocations: 67.55 kB / 0.5871 GB, free: 6.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/1.701, allocations: 39.78 kB / 0.5872 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/1.701, allocations: 4 kB / 0.5872 GB, free: 6.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02506/1.726, allocations: 14.7 MB / 0.6015 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/1.726, allocations: 15.92 kB / 0.6015 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.028e-05/1.726, allocations: 43.73 kB / 0.6016 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/1.741, allocations: 7.256 MB / 0.6087 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.741, allocations: 4 kB / 0.6087 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.741, allocations: 0 / 0.6087 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/1.741, allocations: 3.984 kB / 0.6087 GB, free: 0.6797 MB / 494.1 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.002859/1.744, allocations: 1.15 MB / 0.6098 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/1.744, allocations: 8.031 kB / 0.6098 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/1.744, allocations: 11.84 kB / 0.6098 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/1.745, allocations: 174.9 kB / 0.61 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.745, allocations: 4 kB / 0.61 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/1.745, allocations: 4 kB / 0.61 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/1.745, allocations: 93.59 kB / 0.6101 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.745, allocations: 0 / 0.6101 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.745, allocations: 4 kB / 0.6101 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.745, allocations: 4 kB / 0.6101 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/1.745, allocations: 115.8 kB / 0.6102 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/1.745, allocations: 217.4 kB / 0.6104 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.745, allocations: 110.5 kB / 0.6105 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.538e-05/1.745, allocations: 68.84 kB / 0.6106 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1184/1.864, allocations: 56.4 MB / 0.6657 GB, free: 56 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/1.864, allocations: 34.56 kB / 0.6657 GB, free: 12 kB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/1.864, allocations: 0 / 0.6657 GB, free: 12 kB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.000452/1.864, allocations: 230.3 kB / 0.6659 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.864, allocations: 55.41 kB / 0.666 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/1.864, allocations: 101.8 kB / 0.6661 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/1.864, allocations: 29.7 kB / 0.6661 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/1.864, allocations: 84.7 kB / 0.6662 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/1.865, allocations: 90.5 kB / 0.6662 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/1.865, allocations: 37.7 kB / 0.6663 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.865, allocations: 322.8 kB / 0.6666 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/1.865, allocations: 51.92 kB / 0.6666 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/1.865, allocations: 55.97 kB / 0.6667 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/1.865, allocations: 120.8 kB / 0.6668 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.865, allocations: 3.938 kB / 0.6668 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002203/1.865, allocations: 173.7 kB / 0.667 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.865, allocations: 4 kB / 0.667 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.865, allocations: 0 / 0.667 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.865, allocations: 0 / 0.667 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/1.865, allocations: 23.98 kB / 0.667 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/1.865, allocations: 0 / 0.667 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/1.865, allocations: 16.03 kB / 0.667 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/1.865, allocations: 0 / 0.667 GB, free: 14.57 MB / 0.5606 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 7.564e-05/1.866, allocations: 121.7 kB / 0.6671 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/1.866, allocations: 15.88 kB / 0.6672 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/1.866, allocations: 202.7 kB / 0.6673 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.866, allocations: 8 kB / 0.6674 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.866, allocations: 0 / 0.6674 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.866, allocations: 3.984 kB / 0.6674 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/1.866, allocations: 221.3 kB / 0.6676 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.866, allocations: 4 kB / 0.6676 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/1.866, allocations: 19.94 kB / 0.6676 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.866, allocations: 0 / 0.6676 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/1.866, allocations: 8 kB / 0.6676 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.866, allocations: 3.984 kB / 0.6676 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.866, allocations: 0 / 0.6676 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/1.866, allocations: 204.8 kB / 0.6678 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/1.866, allocations: 88.95 kB / 0.6679 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/1.867, allocations: 8 kB / 0.6679 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.019e-05/1.867, allocations: 0 / 0.6679 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/1.867, allocations: 11.98 kB / 0.6679 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/1.867, allocations: 4 kB / 0.6679 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.251e-05/1.867, allocations: 75.28 kB / 0.668 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.867, allocations: 0 / 0.668 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002294/1.869, allocations: 1.007 MB / 0.669 GB, free: 12.48 MB / 0.5606 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.003852/1.873, allocations: 1.553 MB / 0.6705 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002439/1.873, allocations: 135.9 kB / 0.6706 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.873, allocations: 3.938 kB / 0.6706 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.046e-05/1.873, allocations: 79.91 kB / 0.6707 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/1.874, allocations: 51.88 kB / 0.6707 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/1.874, allocations: 323.1 kB / 0.671 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/1.874, allocations: 0.704 MB / 0.6717 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.353e-05/1.874, allocations: 12.64 kB / 0.6717 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/1.874, allocations: 15.44 kB / 0.6718 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/1.874, allocations: 0 / 0.6718 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.04294/1.917, allocations: 36.34 MB / 0.7073 GB, free: 5.199 MB / 0.5919 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)