Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 215 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002583/0.002583, allocations: 289.4 kB / 313.5 MB, free: 2.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.265/1.265, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 98.25 kB / 0.7404 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2251, allocations: 95.38 MB / 0.8335 GB, free: 8.605 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002594/0.2277, allocations: 1.324 MB / 0.8348 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2288, allocations: 0.5827 MB / 0.8354 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.2288, allocations: 0 / 0.8354 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.2288, allocations: 3.938 kB / 0.8354 GB, free: 6.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.2289, allocations: 3.938 kB / 0.8354 GB, free: 6.676 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.2294, allocations: 95.55 kB / 0.8355 GB, free: 6.582 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.2294, allocations: 23.88 kB / 0.8355 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2295, allocations: 0 / 0.8355 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.2295, allocations: 15.92 kB / 0.8355 GB, free: 6.543 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.2296, allocations: 4 kB / 0.8355 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.2296, allocations: 0 / 0.8355 GB, free: 6.539 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.2299, allocations: 147.8 kB / 0.8356 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2299, allocations: 0 / 0.8356 GB, free: 6.395 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.23, allocations: 11.94 kB / 0.8357 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.2302, allocations: 99.94 kB / 0.8357 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2302, allocations: 0 / 0.8357 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2302, allocations: 0 / 0.8357 GB, free: 6.285 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.401e-05/0.2302, allocations: 0 / 0.8357 GB, free: 6.285 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004663/0.2307, allocations: 278.1 kB / 0.836 GB, free: 5.98 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2307, allocations: 9.344 kB / 0.836 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.726e-05/0.2308, allocations: 4.188 kB / 0.836 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.2308, allocations: 30.75 kB / 0.8361 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.2313, allocations: 36.84 kB / 0.8361 GB, free: 5.895 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2314, allocations: 102.5 kB / 0.8362 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2314, allocations: 4.375 kB / 0.8362 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2314, allocations: 8.375 kB / 0.8362 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2316, allocations: 49.92 kB / 0.8362 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2316, allocations: 0 / 0.8362 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2316, allocations: 3.984 kB / 0.8363 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2316, allocations: 0 / 0.8363 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2317, allocations: 23.92 kB / 0.8363 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.2319, allocations: 132.7 kB / 0.8364 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.2321, allocations: 42.58 kB / 0.8364 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.2321, allocations: 16.91 kB / 0.8365 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2322, allocations: 0 / 0.8365 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.2322, allocations: 46.44 kB / 0.8365 GB, free: 5.379 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2322, allocations: 4 kB / 0.8365 GB, free: 5.375 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.2325, allocations: 65.66 kB / 0.8366 GB, free: 5.305 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.2326, allocations: 55.34 kB / 0.8366 GB, free: 5.238 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.2327, allocations: 93.86 kB / 0.8367 GB, free: 5.137 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2327, allocations: 29.83 kB / 0.8367 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.2327, allocations: 88.12 kB / 0.8368 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2328, allocations: 11.89 kB / 0.8368 GB, free: 5 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.2328, allocations: 13.72 kB / 0.8368 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2329, allocations: 310.8 kB / 0.8371 GB, free: 4.668 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.233, allocations: 11.98 kB / 0.8372 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.2331, allocations: 15.98 kB / 0.8372 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.2332, allocations: 32.78 kB / 0.8372 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2332, allocations: 0 / 0.8372 GB, free: 4.605 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.2334, allocations: 61.66 kB / 0.8373 GB, free: 4.539 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2334, allocations: 9.5 kB / 0.8373 GB, free: 4.531 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2334, allocations: 4.094 kB / 0.8373 GB, free: 4.527 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2334, allocations: 0 / 0.8373 GB, free: 4.527 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.2335, allocations: 11.98 kB / 0.8373 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2335, allocations: 0 / 0.8373 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.2336, allocations: 0 / 0.8373 GB, free: 4.516 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.2336, allocations: 4 kB / 0.8373 GB, free: 4.512 MB / 0.5763 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.986e-05/0.2337, allocations: 110.5 kB / 0.8374 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.2337, allocations: 7.891 kB / 0.8374 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.2338, allocations: 15.3 kB / 0.8374 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2338, allocations: 0 / 0.8374 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2338, allocations: 4 kB / 0.8374 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2338, allocations: 3.938 kB / 0.8374 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.2339, allocations: 124.8 kB / 0.8375 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2339, allocations: 0 / 0.8375 GB, free: 4.195 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.234, allocations: 7.984 kB / 0.8376 GB, free: 4.188 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.234, allocations: 3.938 kB / 0.8376 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.234, allocations: 4.188 kB / 0.8376 GB, free: 4.18 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.234, allocations: 4 kB / 0.8376 GB, free: 4.176 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.234, allocations: 3.938 kB / 0.8376 GB, free: 4.172 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.2342, allocations: 85.09 kB / 0.8376 GB, free: 4.07 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.2343, allocations: 7.922 kB / 0.8377 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.2343, allocations: 0 / 0.8377 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.2343, allocations: 15.95 kB / 0.8377 GB, free: 4.047 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.2344, allocations: 4 kB / 0.8377 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.2344, allocations: 0 / 0.8377 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.2344, allocations: 79.28 kB / 0.8377 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.2344, allocations: 0 / 0.8377 GB, free: 3.965 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002077/0.2346, allocations: 15.94 kB / 0.8378 GB, free: 3.949 MB / 0.5763 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000584/0.2352, allocations: 0.6319 MB / 0.8384 GB, free: 3.285 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2354, allocations: 27.97 kB / 0.8384 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2354, allocations: 0 / 0.8384 GB, free: 3.258 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.2355, allocations: 24.02 kB / 0.8384 GB, free: 3.234 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2357, allocations: 4 kB / 0.8384 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.2362, allocations: 144.6 kB / 0.8386 GB, free: 3.051 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2365, allocations: 0.6768 MB / 0.8392 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 6.443e-05/0.2366, allocations: 16 kB / 0.8392 GB, free: 2.332 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2366, allocations: 7.438 kB / 0.8393 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.2366, allocations: 0 / 0.8393 GB, free: 2.324 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2582, allocations: 1.727 MB / 0.8409 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.13, allocations: 14.78 kB / 0.841 GB, free: 0.75 MB / 0.5763 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.6457245539641] Failed to read output from testmodel.py, exit status != 0: 11.28940963302739 11.318666401 11.083218297 Calling exit ...