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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7962/0.7962, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 16.45 kB / 236.6 MB, free: 2.043 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05669/0.05702, allocations: 31.34 MB / 267.9 MB, free: 7.57 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.563/1.62, allocations: 293.9 MB / 0.5487 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03581/1.656, allocations: 30.41 MB / 0.5784 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/1.656, allocations: 0 / 0.5784 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/1.656, allocations: 152.8 kB / 0.5785 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/1.656, allocations: 43.67 kB / 0.5786 GB, free: 15.01 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.02019/1.676, allocations: 8.054 MB / 0.5864 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/1.677, allocations: 127.4 kB / 0.5865 GB, free: 6.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/1.677, allocations: 29.03 kB / 0.5866 GB, free: 6.789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/1.677, allocations: 67.55 kB / 0.5866 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/1.677, allocations: 39.78 kB / 0.5867 GB, free: 6.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/1.677, allocations: 7.938 kB / 0.5867 GB, free: 6.676 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02608/1.703, allocations: 14.7 MB / 0.601 GB, free: 7.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/1.703, allocations: 15.91 kB / 0.601 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/1.703, allocations: 47.69 kB / 0.6011 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/1.72, allocations: 7.252 MB / 0.6082 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.72, allocations: 0 / 0.6082 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.804e-06/1.72, allocations: 4 kB / 0.6082 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/1.72, allocations: 0 / 0.6082 GB, free: 0.625 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.003291/1.723, allocations: 1.154 MB / 0.6093 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.723, allocations: 8.031 kB / 0.6093 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/1.723, allocations: 42.55 kB / 0.6094 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/1.723, allocations: 11.84 kB / 0.6094 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.724, allocations: 174.9 kB / 0.6095 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/1.724, allocations: 4 kB / 0.6095 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.724, allocations: 4 kB / 0.6095 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/1.724, allocations: 97.61 kB / 0.6096 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.724, allocations: 0 / 0.6096 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/1.724, allocations: 3.938 kB / 0.6096 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.724, allocations: 7.922 kB / 0.6096 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/1.724, allocations: 107.9 kB / 0.6097 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/1.724, allocations: 221.4 kB / 0.61 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/1.724, allocations: 102.5 kB / 0.6101 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.979e-05/1.724, allocations: 72.83 kB / 0.6101 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.109/1.833, allocations: 56.4 MB / 0.6652 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.834, allocations: 42.5 kB / 0.6652 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/1.834, allocations: 0 / 0.6652 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0004166/1.834, allocations: 226.3 kB / 0.6655 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.834, allocations: 51.41 kB / 0.6655 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/1.834, allocations: 101.9 kB / 0.6656 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/1.834, allocations: 25.7 kB / 0.6656 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/1.834, allocations: 88.64 kB / 0.6657 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/1.834, allocations: 94.55 kB / 0.6658 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/1.834, allocations: 37.7 kB / 0.6658 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.835, allocations: 322.8 kB / 0.6662 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/1.835, allocations: 43.98 kB / 0.6662 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/1.835, allocations: 55.92 kB / 0.6662 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/1.835, allocations: 128.7 kB / 0.6664 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.835, allocations: 4 kB / 0.6664 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002156/1.835, allocations: 169.7 kB / 0.6665 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.835, allocations: 4 kB / 0.6665 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.835, allocations: 0 / 0.6665 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/1.835, allocations: 8 kB / 0.6665 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/1.835, allocations: 19.92 kB / 0.6666 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.835, allocations: 0 / 0.6666 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/1.835, allocations: 15.84 kB / 0.6666 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/1.835, allocations: 7.984 kB / 0.6666 GB, free: 14.45 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.48e-05/1.835, allocations: 114.3 kB / 0.6667 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/1.835, allocations: 7.906 kB / 0.6667 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/1.836, allocations: 202.7 kB / 0.6669 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.836, allocations: 8 kB / 0.6669 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/1.836, allocations: 4 kB / 0.6669 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.836, allocations: 3.938 kB / 0.6669 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/1.836, allocations: 225.3 kB / 0.6671 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.836, allocations: 0 / 0.6671 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/1.836, allocations: 15.98 kB / 0.6671 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.836, allocations: 4 kB / 0.6671 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/1.836, allocations: 4 kB / 0.6671 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.836, allocations: 0 / 0.6671 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.836, allocations: 0 / 0.6671 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/1.836, allocations: 204.9 kB / 0.6673 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/1.836, allocations: 96.89 kB / 0.6674 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.836, allocations: 3.984 kB / 0.6674 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/1.836, allocations: 0 / 0.6674 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/1.836, allocations: 11.94 kB / 0.6675 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/1.836, allocations: 7.984 kB / 0.6675 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.354e-05/1.836, allocations: 79.28 kB / 0.6675 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.836, allocations: 0 / 0.6675 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002394/1.839, allocations: 0.9994 MB / 0.6685 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.005114/1.844, allocations: 2.195 MB / 0.6707 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002443/1.844, allocations: 139.8 kB / 0.6708 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.844, allocations: 0 / 0.6708 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/1.844, allocations: 79.91 kB / 0.6709 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/1.845, allocations: 54.12 kB / 0.6709 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/1.848, allocations: 1.994 MB / 0.6729 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.848, allocations: 0.704 MB / 0.6736 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.236e-05/1.848, allocations: 20.64 kB / 0.6736 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/1.848, allocations: 27.44 kB / 0.6736 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/1.848, allocations: 0 / 0.6736 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2516/2.1, allocations: 39.96 MB / 0.7126 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.036/11.14, allocations: 4.828 kB / 0.7126 GB, free: 212.4 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)