Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.001733/0.001733, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002187/0.002187, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 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.00272/0.00272, allocations: 287.4 kB / 312.7 MB, free: 2.605 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.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",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.004748/0.004748, allocations: 102.2 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2523, allocations: 95.39 MB / 0.8326 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002593/0.2549, allocations: 1.436 MB / 0.834 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2559, allocations: 0.5594 MB / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2559, allocations: 0 / 0.8346 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2559, allocations: 3.938 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.289e-05/0.256, allocations: 7.922 kB / 0.8346 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.2564, allocations: 99.56 kB / 0.8347 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.03e-05/0.2564, allocations: 27.92 kB / 0.8347 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.2565, allocations: 4 kB / 0.8347 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.2566, allocations: 8 kB / 0.8347 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.2566, allocations: 15.91 kB / 0.8347 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.2566, allocations: 0 / 0.8347 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002584/0.2569, allocations: 131.8 kB / 0.8349 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2569, allocations: 11.98 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.2569, allocations: 11.94 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.2571, allocations: 111.9 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2571, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2571, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2571, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004544/0.2576, allocations: 282.1 kB / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2576, allocations: 13.28 kB / 0.8353 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.2577, allocations: 38.73 kB / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.2581, allocations: 32.86 kB / 0.8353 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.2582, allocations: 110.5 kB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2582, allocations: 384 / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2582, allocations: 4.375 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2584, allocations: 70.14 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2585, allocations: 3.938 kB / 0.8355 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2585, allocations: 4 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2585, allocations: 0 / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.2587, allocations: 55.94 kB / 0.8356 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.2591, allocations: 236 kB / 0.8358 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.2594, allocations: 62.47 kB / 0.8359 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2595, allocations: 32.83 kB / 0.8359 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.2595, allocations: 4 kB / 0.8359 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2596, allocations: 30.56 kB / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2596, allocations: 0 / 0.8359 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004896/0.2601, allocations: 117.5 kB / 0.836 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2601, allocations: 55.41 kB / 0.8361 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.805e-05/0.2602, allocations: 97.86 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2602, allocations: 25.7 kB / 0.8362 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.2602, allocations: 80.14 kB / 0.8363 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2603, allocations: 15.94 kB / 0.8363 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.2603, allocations: 9.719 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2605, allocations: 314.8 kB / 0.8366 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2606, allocations: 32.03 kB / 0.8366 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2607, allocations: 27.97 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.261, allocations: 60.8 kB / 0.8367 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.261, allocations: 8 kB / 0.8367 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002924/0.2613, allocations: 81.64 kB / 0.8368 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2613, allocations: 4 kB / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2613, allocations: 0 / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2613, allocations: 3.984 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2614, allocations: 16.02 kB / 0.8368 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.2614, allocations: 0 / 0.8368 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.2615, allocations: 15.92 kB / 0.8369 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2615, allocations: 0 / 0.8369 GB, free: 3.754 MB / 0.5762 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 9.206e-05/0.2616, allocations: 118.4 kB / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.2616, allocations: 0 / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.2617, allocations: 7.25 kB / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2617, allocations: 192 / 0.837 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2617, allocations: 7.984 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2617, allocations: 7.984 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.2619, allocations: 136.6 kB / 0.8371 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2619, allocations: 0 / 0.8371 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.262, allocations: 15.92 kB / 0.8371 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.262, allocations: 0 / 0.8371 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.262, allocations: 4 kB / 0.8371 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.262, allocations: 3.984 kB / 0.8371 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.262, allocations: 0 / 0.8371 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.2624, allocations: 183.4 kB / 0.8373 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.2624, allocations: 7.938 kB / 0.8373 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2624, allocations: 3.938 kB / 0.8373 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2625, allocations: 15.98 kB / 0.8373 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2625, allocations: 7.984 kB / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.2625, allocations: 0 / 0.8374 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.2626, allocations: 83.31 kB / 0.8374 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2626, allocations: 0 / 0.8374 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002304/0.2628, allocations: 8 kB / 0.8374 GB, free: 3.082 MB / 0.5762 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.0007297/0.2635, allocations: 0.7318 MB / 0.8382 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.2638, allocations: 63.91 kB / 0.8382 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2638, allocations: 0 / 0.8382 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.264, allocations: 27.97 kB / 0.8382 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.2643, allocations: 5.875 kB / 0.8382 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.2648, allocations: 168.6 kB / 0.8384 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.2649, allocations: 63.34 kB / 0.8385 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.705e-05/0.265, allocations: 7.938 kB / 0.8385 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.265, allocations: 15.42 kB / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.265, allocations: 0 / 0.8385 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.2941, allocations: 2.229 MB / 0.8407 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.28, allocations: 0 / 0.8407 GB, free: 15.83 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.579223102889955] Failed to read output from testmodel.py, exit status != 0: 11.384071430191398 11.398705518 11.138543903 Calling exit ...