Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 101.9 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 191 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251.6 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 292.2 kB / 307.1 MB, free: 8.305 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.235/1.235, allocations: 180.8 MB / 0.5304 GB, free: 14.51 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002907/0.002907, allocations: 103.8 kB / 0.7311 GB, free: 38.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1542, allocations: 94.21 MB / 0.8231 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002289/0.1565, allocations: 1.3 MB / 0.8244 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.3355, allocations: 146.5 MB / 0.9674 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.3356, allocations: 4 kB / 0.9674 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.3356, allocations: 7.922 kB / 0.9674 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.3356, allocations: 7.922 kB / 0.9674 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3361, allocations: 115.5 kB / 0.9676 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/0.3362, allocations: 23.81 kB / 0.9676 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.3362, allocations: 0 / 0.9676 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.3363, allocations: 8 kB / 0.9676 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.3363, allocations: 11.92 kB / 0.9676 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.3363, allocations: 0 / 0.9676 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.3367, allocations: 167.7 kB / 0.9678 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3367, allocations: 3.938 kB / 0.9678 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.3368, allocations: 15.92 kB / 0.9678 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.337, allocations: 103.7 kB / 0.9679 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.337, allocations: 0 / 0.9679 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.592e-06/0.337, allocations: 0 / 0.9679 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.337, allocations: 3.938 kB / 0.9679 GB, free: 12.84 MB / 0.7169 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.0003627/0.3374, allocations: 278 kB / 0.9681 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3374, allocations: 12.03 kB / 0.9682 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.338, allocations: 36.89 kB / 0.9682 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3381, allocations: 106.5 kB / 0.9683 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3381, allocations: 7.938 kB / 0.9683 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3381, allocations: 0 / 0.9683 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3383, allocations: 49.66 kB / 0.9684 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3383, allocations: 7.938 kB / 0.9684 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3383, allocations: 0 / 0.9684 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3383, allocations: 0 / 0.9684 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3384, allocations: 23.97 kB / 0.9684 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3388, allocations: 220 kB / 0.9686 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.3389, allocations: 22.58 kB / 0.9686 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.3389, allocations: 8.859 kB / 0.9686 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.3389, allocations: 12.05 kB / 0.9686 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3389, allocations: 34.5 kB / 0.9687 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3389, allocations: 0 / 0.9687 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.3391, allocations: 37.7 kB / 0.9687 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3391, allocations: 51.41 kB / 0.9688 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3393, allocations: 109.8 kB / 0.9689 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3393, allocations: 33.81 kB / 0.9689 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.3394, allocations: 84.09 kB / 0.969 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.3394, allocations: 11.95 kB / 0.969 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3394, allocations: 17.7 kB / 0.969 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3396, allocations: 314.8 kB / 0.9693 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.3396, allocations: 11.98 kB / 0.9693 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.3397, allocations: 12.17 kB / 0.9693 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.3398, allocations: 36.8 kB / 0.9694 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3398, allocations: 0 / 0.9694 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002124/0.34, allocations: 61.61 kB / 0.9694 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.34, allocations: 4 kB / 0.9694 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.34, allocations: 0 / 0.9694 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3401, allocations: 0 / 0.9694 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3402, allocations: 11.98 kB / 0.9694 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3402, allocations: 4 kB / 0.9694 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3403, allocations: 11.92 kB / 0.9694 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.3403, allocations: 4 kB / 0.9694 GB, free: 11.05 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.371e-05/0.3404, allocations: 106.5 kB / 0.9695 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.3405, allocations: 3.938 kB / 0.9696 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.3405, allocations: 11.31 kB / 0.9696 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3405, allocations: 0 / 0.9696 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3405, allocations: 4 kB / 0.9696 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3405, allocations: 7.922 kB / 0.9696 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3407, allocations: 128.7 kB / 0.9697 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3407, allocations: 3.984 kB / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.3407, allocations: 4 kB / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3407, allocations: 0 / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3407, allocations: 0 / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3407, allocations: 0 / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3407, allocations: 0 / 0.9697 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.3408, allocations: 143.5 kB / 0.9698 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.3409, allocations: 3.984 kB / 0.9698 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3409, allocations: 0 / 0.9698 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.341, allocations: 8 kB / 0.9699 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.341, allocations: 0 / 0.9699 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.341, allocations: 3.938 kB / 0.9699 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001013/0.3411, allocations: 95.2 kB / 0.9699 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3411, allocations: 4.031 kB / 0.97 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002492/0.3413, allocations: 12 kB / 0.97 GB, free: 10.45 MB / 0.7169 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.0001935/0.3415, allocations: 111.2 kB / 0.9701 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3417, allocations: 23.97 kB / 0.9701 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3417, allocations: 0 / 0.9701 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.3417, allocations: 7.938 kB / 0.9701 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.342, allocations: 13 kB / 0.9701 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3424, allocations: 123.4 kB / 0.9702 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3427, allocations: 0.6768 MB / 0.9709 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.973e-05/0.3427, allocations: 7.938 kB / 0.9709 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.3427, allocations: 11.44 kB / 0.9709 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.3427, allocations: 0 / 0.9709 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.003312/0.3461, allocations: 0.7599 MB / 0.9717 GB, free: 8.664 MB / 0.7169 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1676247449358925] Failed to read output from testmodel.py, exit status != 0: 0.35393106599804014 0.36804783799999996 0.028068064 Calling exit ...