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.00165/0.00165, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.00196/0.00196, allocations: 169.4 kB / 22.46 MB, free: 5.355 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.00249/0.00249, allocations: 241.8 kB / 259.4 MB, free: 484 kB / 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.053/1.053, allocations: 138.4 MB / 454.3 MB, free: 1.98 MB / 366.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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.406e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002474/0.002498, allocations: 1.441 MB / 0.6482 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.003487, allocations: 0.55 MB / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.003516, allocations: 0 / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.003538, allocations: 0 / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.003591, allocations: 11.86 kB / 0.6487 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.003987, allocations: 107.4 kB / 0.6488 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.004053, allocations: 31.86 kB / 0.6489 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.81e-05/0.004131, allocations: 4 kB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.004181, allocations: 15.97 kB / 0.6489 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.00423, allocations: 15.92 kB / 0.6489 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004245, allocations: 4 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.004514, allocations: 131.8 kB / 0.649 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.004528, allocations: 3.938 kB / 0.649 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.004554, allocations: 8 kB / 0.649 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.004796, allocations: 119.7 kB / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004798, allocations: 0 / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004799, allocations: 0 / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.004802, allocations: 4 kB / 0.6492 GB, free: 2.582 MB / 0.5606 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.0004678/0.00527, allocations: 286 kB / 0.6494 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.005305, allocations: 9.344 kB / 0.6494 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.00577, allocations: 32.89 kB / 0.6495 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.005874, allocations: 105.8 kB / 0.6496 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.005886, allocations: 384 / 0.6496 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.0059, allocations: 8.359 kB / 0.6496 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.006149, allocations: 74.14 kB / 0.6496 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.006157, allocations: 192 / 0.6496 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.006172, allocations: 4.359 kB / 0.6496 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.006177, allocations: 4.375 kB / 0.6497 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.006457, allocations: 59.88 kB / 0.6497 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.006883, allocations: 216.5 kB / 0.6499 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.007122, allocations: 62.47 kB / 0.65 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.007261, allocations: 28.89 kB / 0.65 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.007284, allocations: 4 kB / 0.65 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.007315, allocations: 34.56 kB / 0.65 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.007316, allocations: 0 / 0.65 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005304/0.007847, allocations: 113.5 kB / 0.6501 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.007888, allocations: 51.41 kB / 0.6502 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.007983, allocations: 110 kB / 0.6503 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.008002, allocations: 25.7 kB / 0.6503 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.008053, allocations: 80.14 kB / 0.6504 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.008075, allocations: 7.891 kB / 0.6504 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.008123, allocations: 29.64 kB / 0.6504 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.008257, allocations: 310.8 kB / 0.6507 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.008395, allocations: 27.97 kB / 0.6508 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.008525, allocations: 27.97 kB / 0.6508 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.00879, allocations: 56.8 kB / 0.6508 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008792, allocations: 3.938 kB / 0.6508 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003359/0.009128, allocations: 97.64 kB / 0.6509 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.009142, allocations: 4 kB / 0.6509 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.00915, allocations: 3.938 kB / 0.6509 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.009163, allocations: 0 / 0.6509 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.009295, allocations: 15.97 kB / 0.651 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.0093, allocations: 3.938 kB / 0.651 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.009393, allocations: 8 kB / 0.651 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.009404, allocations: 3.984 kB / 0.651 GB, free: 0.5352 MB / 0.5606 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.796e-05/0.009502, allocations: 109.9 kB / 0.6511 GB, free: 428 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.009535, allocations: 7.953 kB / 0.6511 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.009575, allocations: 11.25 kB / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009577, allocations: 0 / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.009581, allocations: 0 / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.009583, allocations: 0 / 0.6511 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.009732, allocations: 109.3 kB / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.009733, allocations: 0 / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.009851, allocations: 23.97 kB / 0.6512 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009853, allocations: 0 / 0.6512 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.009862, allocations: 0 / 0.6512 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.009867, allocations: 3.938 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009867, allocations: 0 / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.01024, allocations: 183.4 kB / 0.6514 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.01025, allocations: 8.031 kB / 0.6514 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01027, allocations: 4 kB / 0.6514 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.01039, allocations: 11.92 kB / 0.6514 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.01042, allocations: 0 / 0.6514 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.01043, allocations: 0 / 0.6514 GB, free: 16 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2433/0.2537, allocations: 83.27 kB / 0.6515 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2537, allocations: 0 / 0.6515 GB, free: 56.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003072/0.2541, allocations: 15.27 kB / 0.6515 GB, free: 56.7 MB / 0.5606 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.0001883/0.2542, allocations: 107 kB / 0.6516 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.2546, allocations: 56.16 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2546, allocations: 1.281 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2547, allocations: 32.14 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.255, allocations: 7.797 kB / 0.6517 GB, free: 56.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.2554, allocations: 131.1 kB / 0.6518 GB, free: 56.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.2554, allocations: 62.08 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.378e-05/0.2555, allocations: 13.22 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.2556, allocations: 13.78 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2556, allocations: 0 / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.003009/0.2586, allocations: 0.8309 MB / 0.6527 GB, free: 56.42 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.599632583558559] Failed to read output from testmodel.py, exit status != 0: 0.26606425270438194 0.274861412 0.26790610600000003 Calling exit ...