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.8351/0.8351, allocations: 150.9 MB / 166.5 MB, free: 14.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 17.03 kB / 237.1 MB, free: 1.805 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04898/0.04929, allocations: 31.34 MB / 268.4 MB, free: 7.094 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.59/1.639, allocations: 294 MB / 0.5492 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03292/1.672, allocations: 30.42 MB / 0.579 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.712e-05/1.673, allocations: 0 / 0.579 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/1.673, allocations: 145.8 kB / 0.5791 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/1.673, allocations: 39.69 kB / 0.5791 GB, free: 15.06 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.01946/1.692, allocations: 8.064 MB / 0.587 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/1.693, allocations: 131.4 kB / 0.5871 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/1.693, allocations: 25.05 kB / 0.5872 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/1.693, allocations: 63.55 kB / 0.5872 GB, free: 6.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/1.693, allocations: 39.78 kB / 0.5873 GB, free: 6.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/1.693, allocations: 4 kB / 0.5873 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02444/1.717, allocations: 14.7 MB / 0.6016 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/1.718, allocations: 11.94 kB / 0.6016 GB, free: 8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/1.718, allocations: 51.72 kB / 0.6017 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.731, allocations: 7.27 MB / 0.6088 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.732, allocations: 4 kB / 0.6088 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/1.732, allocations: 0 / 0.6088 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/1.732, allocations: 0 / 0.6088 GB, free: 0.6562 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.002962/1.734, allocations: 1.192 MB / 0.6099 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/1.735, allocations: 11.97 kB / 0.6099 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/1.735, allocations: 11.89 kB / 0.61 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/1.735, allocations: 178.8 kB / 0.6101 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.735, allocations: 7.984 kB / 0.6101 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/1.735, allocations: 4 kB / 0.6101 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/1.735, allocations: 97.66 kB / 0.6102 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/1.735, allocations: 3.938 kB / 0.6102 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.735, allocations: 0 / 0.6102 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.735, allocations: 3.984 kB / 0.6102 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/1.735, allocations: 115.8 kB / 0.6104 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/1.735, allocations: 213.5 kB / 0.6106 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/1.735, allocations: 110.5 kB / 0.6107 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/1.736, allocations: 68.83 kB / 0.6107 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1169/1.852, allocations: 56.4 MB / 0.6658 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.853, allocations: 38.56 kB / 0.6658 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.914e-06/1.853, allocations: 4 kB / 0.6658 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004137/1.853, allocations: 234.2 kB / 0.6661 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/1.853, allocations: 51.41 kB / 0.6661 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/1.853, allocations: 97.86 kB / 0.6662 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.853, allocations: 29.7 kB / 0.6662 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/1.853, allocations: 80.7 kB / 0.6663 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/1.853, allocations: 99.12 kB / 0.6664 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/1.853, allocations: 37.69 kB / 0.6664 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.853, allocations: 318.8 kB / 0.6668 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/1.853, allocations: 47.97 kB / 0.6668 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/1.854, allocations: 51.98 kB / 0.6668 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/1.854, allocations: 124.8 kB / 0.667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.854, allocations: 3.938 kB / 0.667 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002246/1.854, allocations: 177.8 kB / 0.6671 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.854, allocations: 4 kB / 0.6671 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.854, allocations: 8 kB / 0.6672 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.854, allocations: 4 kB / 0.6672 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/1.854, allocations: 15.98 kB / 0.6672 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.854, allocations: 0 / 0.6672 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/1.854, allocations: 11.89 kB / 0.6672 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.854, allocations: 4 kB / 0.6672 GB, free: 14.48 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.191e-05/1.854, allocations: 121.7 kB / 0.6673 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/1.854, allocations: 15.84 kB / 0.6673 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/1.855, allocations: 202.7 kB / 0.6675 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.855, allocations: 7.984 kB / 0.6675 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.855, allocations: 4 kB / 0.6675 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.855, allocations: 0 / 0.6675 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/1.855, allocations: 221.5 kB / 0.6677 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.855, allocations: 0 / 0.6677 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/1.855, allocations: 23.92 kB / 0.6678 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.855, allocations: 4 kB / 0.6678 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.855, allocations: 0 / 0.6678 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.855, allocations: 0 / 0.6678 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.855, allocations: 0 / 0.6678 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/1.855, allocations: 212.9 kB / 0.668 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/1.855, allocations: 89.19 kB / 0.668 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/1.855, allocations: 0 / 0.668 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.274e-05/1.855, allocations: 11.97 kB / 0.6681 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/1.855, allocations: 4 kB / 0.6681 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/1.855, allocations: 4 kB / 0.6681 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.65e-05/1.855, allocations: 83.27 kB / 0.6681 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.855, allocations: 0 / 0.6681 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002209/1.858, allocations: 1.013 MB / 0.6691 GB, free: 12.38 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.004868/1.862, allocations: 1.57 MB / 0.6707 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002645/1.863, allocations: 135.9 kB / 0.6708 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.863, allocations: 0 / 0.6708 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/1.863, allocations: 83.86 kB / 0.6709 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/1.863, allocations: 54.17 kB / 0.6709 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/1.864, allocations: 319 kB / 0.6712 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.864, allocations: 0.7079 MB / 0.6719 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.99e-05/1.864, allocations: 12.66 kB / 0.6719 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.864, allocations: 15.44 kB / 0.672 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/1.864, allocations: 0 / 0.672 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.04528/1.909, allocations: 36.34 MB / 0.7074 GB, free: 5.078 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)