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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8802/0.8802, allocations: 153.8 MB / 172.7 MB, free: 4.973 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005323, allocations: 19.91 kB / 249.8 MB, free: 4.512 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 33.37 MB / 283.2 MB, free: 1.848 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p): time 1.797/1.961, allocations: 306.7 MB / 0.576 GB, free: 16.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02868/1.989, allocations: 30.68 MB / 0.606 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/1.99, allocations: 1.312 kB / 0.606 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/1.99, allocations: 198.6 kB / 0.6062 GB, free: 1.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/1.99, allocations: 53.28 kB / 0.6062 GB, free: 1.574 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.02205/2.012, allocations: 8.208 MB / 0.6143 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/2.012, allocations: 131.5 kB / 0.6144 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.278e-05/2.012, allocations: 30.25 kB / 0.6144 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/2.013, allocations: 72.98 kB / 0.6145 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/2.013, allocations: 38.91 kB / 0.6145 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/2.013, allocations: 3.5 kB / 0.6145 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03283/2.046, allocations: 14.72 MB / 0.6289 GB, free: 220 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/2.046, allocations: 11.92 kB / 0.6289 GB, free: 208 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/2.046, allocations: 48.3 kB / 0.629 GB, free: 160 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/2.066, allocations: 7.283 MB / 0.6361 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/2.066, allocations: 0 / 0.6361 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/2.066, allocations: 0 / 0.6361 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.406e-05/2.066, allocations: 0 / 0.6361 GB, free: 8.852 MB / 0.4981 GB 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.003671/2.069, allocations: 1.123 MB / 0.6372 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/2.069, allocations: 9.875 kB / 0.6372 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/2.069, allocations: 38.56 kB / 0.6372 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/2.069, allocations: 11.94 kB / 0.6372 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/2.07, allocations: 121 kB / 0.6373 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/2.07, allocations: 4 kB / 0.6373 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/2.07, allocations: 8.531 kB / 0.6373 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/2.07, allocations: 91.25 kB / 0.6374 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/2.07, allocations: 1.078 kB / 0.6374 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/2.07, allocations: 8.75 kB / 0.6374 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.07, allocations: 0 / 0.6374 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/2.07, allocations: 116.5 kB / 0.6376 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/2.07, allocations: 191 kB / 0.6377 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/2.07, allocations: 93.25 kB / 0.6378 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/2.07, allocations: 57.44 kB / 0.6379 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1126/2.183, allocations: 32.63 MB / 0.6697 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/2.183, allocations: 42.5 kB / 0.6698 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/2.183, allocations: 0 / 0.6698 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004533/2.184, allocations: 238.2 kB / 0.67 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/2.184, allocations: 51.41 kB / 0.6701 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/2.184, allocations: 102.6 kB / 0.6702 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/2.184, allocations: 29.7 kB / 0.6702 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/2.184, allocations: 88.62 kB / 0.6703 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/2.184, allocations: 95.06 kB / 0.6704 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/2.184, allocations: 33.7 kB / 0.6704 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/2.184, allocations: 330.8 kB / 0.6707 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/2.184, allocations: 43.98 kB / 0.6708 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/2.184, allocations: 51.97 kB / 0.6708 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/2.184, allocations: 137.7 kB / 0.6709 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.184, allocations: 4 kB / 0.6709 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002382/2.185, allocations: 169.6 kB / 0.6711 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/2.185, allocations: 11.98 kB / 0.6711 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/2.185, allocations: 0 / 0.6711 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/2.185, allocations: 3.938 kB / 0.6711 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/2.185, allocations: 16.94 kB / 0.6711 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/2.185, allocations: 0 / 0.6711 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/2.185, allocations: 19.83 kB / 0.6712 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/2.185, allocations: 11.42 kB / 0.6712 GB, free: 4.719 MB / 0.5294 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.604e-05/2.185, allocations: 113.8 kB / 0.6713 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/2.185, allocations: 7.953 kB / 0.6713 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/2.185, allocations: 216.4 kB / 0.6715 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/2.185, allocations: 7.984 kB / 0.6715 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.185, allocations: 4 kB / 0.6715 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/2.185, allocations: 4 kB / 0.6715 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/2.185, allocations: 184.6 kB / 0.6717 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/2.185, allocations: 0 / 0.6717 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.648e-05/2.185, allocations: 15.94 kB / 0.6717 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/2.185, allocations: 4 kB / 0.6717 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/2.186, allocations: 11.92 kB / 0.6717 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/2.186, allocations: 0.75 kB / 0.6717 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/2.186, allocations: 1.922 kB / 0.6717 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/2.186, allocations: 205 kB / 0.6719 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/2.186, allocations: 23.78 kB / 0.6719 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/2.186, allocations: 0 / 0.6719 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.983e-05/2.186, allocations: 0 / 0.6719 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/2.186, allocations: 11.98 kB / 0.6719 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/2.186, allocations: 8.5 kB / 0.6719 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.627e-05/2.186, allocations: 85.75 kB / 0.672 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/2.186, allocations: 0 / 0.672 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002651/2.189, allocations: 1.017 MB / 0.673 GB, free: 2.742 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 (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.005307/2.194, allocations: 2.207 MB / 0.6752 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002434/2.194, allocations: 129 kB / 0.6753 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/2.194, allocations: 0 / 0.6753 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.25e-05/2.194, allocations: 67.91 kB / 0.6754 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/2.195, allocations: 49.95 kB / 0.6754 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/2.198, allocations: 2.031 MB / 0.6774 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/2.198, allocations: 0.704 MB / 0.6781 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.256e-05/2.198, allocations: 22.86 kB / 0.6781 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/2.198, allocations: 27.44 kB / 0.6781 GB, free: 13.41 MB / 0.545 GB Notification: Performance of SimCode: time 8.41e-07/2.198, allocations: 0 / 0.6781 GB, free: 13.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08457/2.283, allocations: 40.25 MB / 0.7174 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/15.57, allocations: 13.7 kB / 0.7175 GB, free: 5.707 MB / 0.5762 GB " [Timeout remaining time 644] (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 --stepSize=4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.48917692503892] Failed to read output from testmodel.py, exit status != 0: 15.902299380861223 15.92050366 13.851201257 Calling exit ...