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.8239/0.8239, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0005046/0.0005046, allocations: 7.984 kB / 249.8 MB, free: 4.406 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1642, allocations: 33.36 MB / 283.1 MB, free: 1.727 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.762/1.926, allocations: 306.9 MB / 0.5762 GB, free: 17.35 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02583/1.952, allocations: 26.94 MB / 0.6025 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/1.952, allocations: 1.062 kB / 0.6025 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/1.953, allocations: 144 kB / 0.6026 GB, free: 5.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/1.953, allocations: 53.38 kB / 0.6027 GB, free: 5.395 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.01876/1.972, allocations: 8.133 MB / 0.6106 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/1.972, allocations: 131.6 kB / 0.6107 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/1.972, allocations: 20.09 kB / 0.6107 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/1.972, allocations: 76.28 kB / 0.6108 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/1.972, allocations: 40.28 kB / 0.6109 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/1.972, allocations: 4.375 kB / 0.6109 GB, free: 1.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02618/1.998, allocations: 13.88 MB / 0.6244 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/1.998, allocations: 11.94 kB / 0.6244 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.489e-05/1.998, allocations: 35.8 kB / 0.6245 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01785/2.016, allocations: 7.285 MB / 0.6316 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/2.016, allocations: 0 / 0.6316 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/2.016, allocations: 4.5 kB / 0.6316 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.182e-05/2.016, allocations: 0.5625 kB / 0.6316 GB, free: 13.36 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.00285/2.019, allocations: 1.109 MB / 0.6327 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/2.019, allocations: 12.03 kB / 0.6327 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/2.019, allocations: 39.64 kB / 0.6327 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/2.019, allocations: 7.953 kB / 0.6327 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/2.019, allocations: 122 kB / 0.6328 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/2.019, allocations: 9.531 kB / 0.6328 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/2.019, allocations: 4 kB / 0.6328 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/2.02, allocations: 98.16 kB / 0.6329 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/2.02, allocations: 0 / 0.6329 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/2.02, allocations: 1.438 kB / 0.6329 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/2.02, allocations: 3.984 kB / 0.6329 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/2.02, allocations: 115.8 kB / 0.6331 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/2.02, allocations: 180.6 kB / 0.6332 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/2.02, allocations: 91.05 kB / 0.6333 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/2.02, allocations: 60.83 kB / 0.6334 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1147/2.135, allocations: 32.76 MB / 0.6654 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/2.135, allocations: 34.55 kB / 0.6654 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/2.135, allocations: 0 / 0.6654 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30): time 0.0004416/2.135, allocations: 242.2 kB / 0.6656 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/2.135, allocations: 56.91 kB / 0.6657 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/2.135, allocations: 98.69 kB / 0.6658 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/2.135, allocations: 29.7 kB / 0.6658 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/2.136, allocations: 84.64 kB / 0.6659 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-05/2.136, allocations: 103 kB / 0.666 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/2.136, allocations: 33.7 kB / 0.666 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/2.136, allocations: 322.8 kB / 0.6663 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.097e-05/2.136, allocations: 53.23 kB / 0.6664 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/2.136, allocations: 55.97 kB / 0.6664 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/2.136, allocations: 125.8 kB / 0.6665 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/2.136, allocations: 0 / 0.6665 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002466/2.136, allocations: 181.5 kB / 0.6667 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/2.136, allocations: 8 kB / 0.6667 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/2.136, allocations: 0 / 0.6667 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/2.136, allocations: 3.938 kB / 0.6667 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.698e-05/2.137, allocations: 15.98 kB / 0.6667 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/2.137, allocations: 1.312 kB / 0.6667 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/2.137, allocations: 11.89 kB / 0.6668 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/2.137, allocations: 9.375 kB / 0.6668 GB, free: 9.125 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 9.724e-05/2.137, allocations: 121.8 kB / 0.6669 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/2.137, allocations: 15.89 kB / 0.6669 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/2.137, allocations: 211.1 kB / 0.6671 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/2.137, allocations: 1.969 kB / 0.6671 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/2.137, allocations: 0 / 0.6671 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/2.137, allocations: 3.984 kB / 0.6671 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/2.137, allocations: 185.4 kB / 0.6673 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/2.137, allocations: 0 / 0.6673 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/2.137, allocations: 15.98 kB / 0.6673 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/2.137, allocations: 7.938 kB / 0.6673 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/2.137, allocations: 7.938 kB / 0.6673 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/2.137, allocations: 4.938 kB / 0.6673 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/2.137, allocations: 0 / 0.6673 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/2.138, allocations: 205 kB / 0.6675 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/2.138, allocations: 16.77 kB / 0.6675 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/2.138, allocations: 0 / 0.6675 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/2.138, allocations: 4 kB / 0.6675 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/2.138, allocations: 7.984 kB / 0.6675 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/2.138, allocations: 4 kB / 0.6675 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.681e-05/2.138, allocations: 87.27 kB / 0.6676 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.138, allocations: 0 / 0.6676 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002367/2.14, allocations: 1.021 MB / 0.6686 GB, free: 7.145 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.004876/2.145, allocations: 2.212 MB / 0.6708 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002648/2.145, allocations: 132.5 kB / 0.6709 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/2.145, allocations: 0 / 0.6709 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/2.145, allocations: 59.97 kB / 0.671 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/2.146, allocations: 53.12 kB / 0.671 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/2.149, allocations: 2.032 MB / 0.673 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/2.149, allocations: 85.33 kB / 0.6731 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.237e-05/2.149, allocations: 16.5 kB / 0.6731 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/2.149, allocations: 35.42 kB / 0.6731 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/2.149, allocations: 0 / 0.6731 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08096/2.23, allocations: 40.7 MB / 0.7129 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/15.07, allocations: 4.062 kB / 0.7129 GB, free: 10.34 MB / 0.5762 GB " [Timeout remaining time 645] (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: 16.824753186665475] Failed to read output from testmodel.py, exit status != 0: 15.366385682951659 15.381405463 13.362056280000001 Calling exit ...