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.8212/0.8212, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 19.19 kB / 237.7 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.057/0.05735, allocations: 31.35 MB / 269.1 MB, free: 7.059 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.595/1.652, allocations: 293.9 MB / 0.5498 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03167/1.684, allocations: 30.42 MB / 0.5795 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/1.684, allocations: 0 / 0.5795 GB, free: 15.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/1.684, allocations: 139.1 kB / 0.5797 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.647e-05/1.684, allocations: 43.67 kB / 0.5797 GB, free: 15.05 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.02046/1.705, allocations: 8.067 MB / 0.5876 GB, free: 6.969 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/1.705, allocations: 135.4 kB / 0.5877 GB, free: 6.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.145e-05/1.705, allocations: 21.03 kB / 0.5877 GB, free: 6.812 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/1.705, allocations: 75.48 kB / 0.5878 GB, free: 6.738 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/1.705, allocations: 39.78 kB / 0.5878 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/1.705, allocations: 0 / 0.5878 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02404/1.729, allocations: 14.7 MB / 0.6022 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/1.73, allocations: 7.922 kB / 0.6022 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/1.73, allocations: 43.75 kB / 0.6022 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/1.746, allocations: 7.256 MB / 0.6093 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.746, allocations: 0 / 0.6093 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/1.746, allocations: 0 / 0.6093 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/1.746, allocations: 4 kB / 0.6093 GB, free: 0.6484 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.003089/1.749, allocations: 1.15 MB / 0.6105 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.749, allocations: 8.031 kB / 0.6105 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/1.749, allocations: 11.84 kB / 0.6105 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/1.749, allocations: 171 kB / 0.6106 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.749, allocations: 8 kB / 0.6107 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/1.749, allocations: 0 / 0.6107 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/1.749, allocations: 97.53 kB / 0.6107 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.749, allocations: 7.938 kB / 0.6108 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.749, allocations: 4 kB / 0.6108 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/1.749, allocations: 3.984 kB / 0.6108 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.75, allocations: 115.8 kB / 0.6109 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/1.75, allocations: 213.5 kB / 0.6111 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/1.75, allocations: 102.5 kB / 0.6112 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/1.75, allocations: 68.84 kB / 0.6112 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1179/1.868, allocations: 56.41 MB / 0.6663 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.868, allocations: 34.56 kB / 0.6664 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/1.868, allocations: 4 kB / 0.6664 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004263/1.869, allocations: 222.3 kB / 0.6666 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/1.869, allocations: 51.41 kB / 0.6666 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/1.869, allocations: 105.8 kB / 0.6667 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.869, allocations: 25.7 kB / 0.6667 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/1.869, allocations: 84.7 kB / 0.6668 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.742e-05/1.869, allocations: 94.5 kB / 0.6669 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/1.869, allocations: 33.7 kB / 0.6669 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.869, allocations: 326.8 kB / 0.6673 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/1.869, allocations: 47.97 kB / 0.6673 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/1.869, allocations: 55.92 kB / 0.6674 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.869, allocations: 124.8 kB / 0.6675 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.869, allocations: 4 kB / 0.6675 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002253/1.87, allocations: 173.6 kB / 0.6676 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.87, allocations: 8 kB / 0.6677 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.87, allocations: 0 / 0.6677 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/1.87, allocations: 0 / 0.6677 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/1.87, allocations: 15.94 kB / 0.6677 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/1.87, allocations: 4 kB / 0.6677 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/1.87, allocations: 15.84 kB / 0.6677 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/1.87, allocations: 7.984 kB / 0.6677 GB, free: 14.54 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 8.835e-05/1.87, allocations: 117.8 kB / 0.6678 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/1.87, allocations: 3.906 kB / 0.6678 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/1.87, allocations: 206.8 kB / 0.668 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.87, allocations: 7.922 kB / 0.668 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.87, allocations: 4 kB / 0.668 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/1.87, allocations: 100.8 kB / 0.6681 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/1.87, allocations: 4 kB / 0.6681 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/1.87, allocations: 0 / 0.6681 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/1.87, allocations: 7.938 kB / 0.6681 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002628/1.871, allocations: 256.8 kB / 0.6684 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003016/1.871, allocations: 342.6 kB / 0.6687 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.463e-05/1.871, allocations: 71.97 kB / 0.6688 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.439e-05/1.871, allocations: 87.27 kB / 0.6689 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of Backend: time 6.21e-07/1.871, allocations: 0 / 0.6689 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009591/1.881, allocations: 2.507 MB / 0.6713 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0006346/1.881, allocations: 0.6911 MB / 0.672 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.2525/2.134, allocations: 57.38 MB / 0.728 GB, free: 214.1 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)