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.00085/0.00085, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008504/0.0008504, allocations: 165.9 kB / 22.45 MB, free: 2.117 MB / 18.57 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 0.8582/0.8582, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001389/0.001389, allocations: 233.3 kB / 259.4 MB, free: 13.04 MB / 250.7 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 0.6467/0.6467, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.99e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001766/0.001786, allocations: 1.441 MB / 0.6477 GB, free: 460 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2281/0.2299, allocations: 0.5425 MB / 0.6482 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.2299, allocations: 1.469 kB / 0.6482 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.23, allocations: 1.406 kB / 0.6482 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.306e-05/0.23, allocations: 4.375 kB / 0.6482 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.2304, allocations: 102.1 kB / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.2305, allocations: 26.3 kB / 0.6483 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.2306, allocations: 4.234 kB / 0.6484 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.2307, allocations: 14.25 kB / 0.6484 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.2307, allocations: 11.33 kB / 0.6484 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2307, allocations: 1.594 kB / 0.6484 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.231, allocations: 143.1 kB / 0.6485 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.231, allocations: 4.719 kB / 0.6485 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.231, allocations: 9.75 kB / 0.6485 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2312, allocations: 120.2 kB / 0.6486 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2312, allocations: 0 / 0.6486 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2312, allocations: 1.812 kB / 0.6486 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2312, allocations: 0 / 0.6486 GB, free: 55.73 MB / 0.5573 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.0003432/0.2315, allocations: 282.8 kB / 0.6489 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2316, allocations: 12 kB / 0.6489 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.2316, allocations: 34.72 kB / 0.649 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.2319, allocations: 32.42 kB / 0.649 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.225e-05/0.232, allocations: 112.8 kB / 0.6491 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.232, allocations: 2.969 kB / 0.6491 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.232, allocations: 2.031 kB / 0.6491 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.2321, allocations: 69.23 kB / 0.6492 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.2321, allocations: 2.281 kB / 0.6492 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2322, allocations: 1.734 kB / 0.6492 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2322, allocations: 5 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.2323, allocations: 51.34 kB / 0.6492 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.2326, allocations: 241.7 kB / 0.6495 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2327, allocations: 60.16 kB / 0.6495 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.2328, allocations: 30.39 kB / 0.6495 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2328, allocations: 1.812 kB / 0.6495 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.2328, allocations: 38.39 kB / 0.6496 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.2328, allocations: 3.703 kB / 0.6496 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0003066/0.2331, allocations: 115.6 kB / 0.6497 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2332, allocations: 53.69 kB / 0.6497 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/0.2332, allocations: 101.1 kB / 0.6498 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2332, allocations: 26.52 kB / 0.6499 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.2332, allocations: 89.2 kB / 0.65 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.2333, allocations: 6.312 kB / 0.65 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2333, allocations: 16.59 kB / 0.65 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.2333, allocations: 314.7 kB / 0.6503 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.978e-05/0.2334, allocations: 28.03 kB / 0.6503 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.2335, allocations: 30.44 kB / 0.6503 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2336, allocations: 56.69 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2336, allocations: 0.9688 kB / 0.6504 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001659/0.2338, allocations: 91.89 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2338, allocations: 4.312 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2338, allocations: 2.781 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2338, allocations: 0 / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.2339, allocations: 14.09 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.2339, allocations: 1.5 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.929e-05/0.2339, allocations: 9.938 kB / 0.6505 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2339, allocations: 2.016 kB / 0.6505 GB, free: 54.26 MB / 0.5573 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 4.3e-05/0.234, allocations: 120.8 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.234, allocations: 8.703 kB / 0.6506 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.234, allocations: 8.359 kB / 0.6506 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.234, allocations: 1.422 kB / 0.6506 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.234, allocations: 0 / 0.6506 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.234, allocations: 0.75 kB / 0.6506 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.2341, allocations: 130.1 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2341, allocations: 0.5625 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.975e-05/0.2342, allocations: 16.61 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2342, allocations: 6.625 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2342, allocations: 2.047 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2342, allocations: 0.7812 kB / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2342, allocations: 0 / 0.6508 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2344, allocations: 181.3 kB / 0.651 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.2344, allocations: 7.125 kB / 0.651 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2344, allocations: 4.688 kB / 0.651 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.299e-05/0.2345, allocations: 8.672 kB / 0.651 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.2345, allocations: 11.56 kB / 0.651 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.2345, allocations: 1.922 kB / 0.651 GB, free: 53.84 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.705e-05/0.2345, allocations: 82.05 kB / 0.6511 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2345, allocations: 0 / 0.6511 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001778/0.2347, allocations: 16.66 kB / 0.6511 GB, free: 53.76 MB / 0.5573 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.0003588/0.2351, allocations: 0.736 MB / 0.6518 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.2352, allocations: 59.73 kB / 0.6519 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2352, allocations: 4.719 kB / 0.6519 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.2353, allocations: 31.88 kB / 0.6519 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2356, allocations: 4.188 kB / 0.6519 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.236, allocations: 163.1 kB / 0.6521 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.236, allocations: 59.2 kB / 0.6521 GB, free: 52.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.236, allocations: 7.438 kB / 0.6521 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.2361, allocations: 14.89 kB / 0.6521 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of SimCode: time 6.71e-07/0.2361, allocations: 1.781 kB / 0.6521 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.2499, allocations: 2.368 MB / 0.6545 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.432/6.682, allocations: 10.08 kB / 0.6545 GB, free: 52.05 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.137159888632596] Failed to read output from testmodel.py, exit status != 0: 6.75861490983516 6.768031007 6.534668032 Calling exit ...