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.001346/0.001346, allocations: 110 kB / 18.93 MB, free: 2.945 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.001377/0.001377, allocations: 192.3 kB / 22.23 MB, free: 5.156 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.357/1.357, allocations: 225.6 MB / 251 MB, free: 13 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.00238/0.00238, allocations: 277.3 kB / 306.5 MB, free: 8.32 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.177/1.177, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.002753/0.002753, allocations: 97.7 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1604, allocations: 94.2 MB / 0.8228 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00246/0.1629, allocations: 1.294 MB / 0.8241 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1686/0.3315, allocations: 148.1 MB / 0.9687 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3315, allocations: 0 / 0.9687 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.3316, allocations: 3.938 kB / 0.9687 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.3316, allocations: 7.922 kB / 0.9688 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3321, allocations: 123.5 kB / 0.9689 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.3322, allocations: 19.86 kB / 0.9689 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.3322, allocations: 0 / 0.9689 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.3322, allocations: 11.98 kB / 0.9689 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.3323, allocations: 7.938 kB / 0.9689 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3323, allocations: 4 kB / 0.9689 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.3327, allocations: 175.6 kB / 0.9691 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.3327, allocations: 4 kB / 0.9691 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3328, allocations: 11.94 kB / 0.9691 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.333, allocations: 111.6 kB / 0.9692 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.333, allocations: 4 kB / 0.9692 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.333, allocations: 0 / 0.9692 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.333, allocations: 0 / 0.9692 GB, free: 11.28 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.0003697/0.3334, allocations: 278 kB / 0.9695 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3334, allocations: 8.031 kB / 0.9695 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.334, allocations: 36.89 kB / 0.9695 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3341, allocations: 110.5 kB / 0.9696 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3341, allocations: 3.938 kB / 0.9696 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3341, allocations: 8 kB / 0.9696 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3343, allocations: 49.59 kB / 0.9697 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3343, allocations: 0 / 0.9697 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3343, allocations: 0 / 0.9697 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3343, allocations: 0 / 0.9697 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3345, allocations: 27.97 kB / 0.9697 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3348, allocations: 216 kB / 0.9699 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.3349, allocations: 22.58 kB / 0.9699 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.3349, allocations: 8.922 kB / 0.9699 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.3349, allocations: 3.938 kB / 0.9699 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.335, allocations: 38.56 kB / 0.97 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.335, allocations: 3.938 kB / 0.97 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001552/0.3351, allocations: 41.69 kB / 0.97 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3352, allocations: 51.41 kB / 0.9701 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3353, allocations: 109.8 kB / 0.9702 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3353, allocations: 29.64 kB / 0.9702 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.3354, allocations: 88.09 kB / 0.9703 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.3354, allocations: 12.06 kB / 0.9703 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3354, allocations: 17.7 kB / 0.9703 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3356, allocations: 322.8 kB / 0.9706 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.3357, allocations: 11.92 kB / 0.9706 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.147e-05/0.3357, allocations: 12.17 kB / 0.9706 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.3358, allocations: 20.94 kB / 0.9707 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3358, allocations: 4 kB / 0.9707 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00019/0.336, allocations: 61.66 kB / 0.9707 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.336, allocations: 5.875 kB / 0.9707 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.336, allocations: 4 kB / 0.9707 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.336, allocations: 0 / 0.9707 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3361, allocations: 11.98 kB / 0.9708 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3362, allocations: 0 / 0.9708 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3363, allocations: 15.92 kB / 0.9708 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.3363, allocations: 7.938 kB / 0.9708 GB, free: 9.488 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.4e-05/0.3364, allocations: 111.2 kB / 0.9709 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.3364, allocations: 0 / 0.9709 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.3364, allocations: 3.312 kB / 0.9709 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3365, allocations: 4 kB / 0.9709 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3365, allocations: 0 / 0.9709 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.3365, allocations: 3.938 kB / 0.9709 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3367, allocations: 128.7 kB / 0.971 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3367, allocations: 4 kB / 0.971 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.3367, allocations: 7.984 kB / 0.971 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3367, allocations: 0 / 0.971 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3367, allocations: 0 / 0.971 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3367, allocations: 0 / 0.971 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3367, allocations: 0 / 0.971 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3369, allocations: 135.5 kB / 0.9712 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.3369, allocations: 12.02 kB / 0.9712 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3369, allocations: 3.938 kB / 0.9712 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.337, allocations: 4 kB / 0.9712 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.337, allocations: 0 / 0.9712 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.337, allocations: 3.938 kB / 0.9712 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002303/0.3373, allocations: 95.2 kB / 0.9713 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.3373, allocations: 0 / 0.9713 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002396/0.3375, allocations: 15.94 kB / 0.9713 GB, free: 8.898 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.0002175/0.3377, allocations: 119.2 kB / 0.9714 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3379, allocations: 11.98 kB / 0.9714 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.3379, allocations: 4 kB / 0.9714 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.3379, allocations: 3.984 kB / 0.9714 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3383, allocations: 8 kB / 0.9714 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.3386, allocations: 139.4 kB / 0.9716 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.339, allocations: 0.6768 MB / 0.9722 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.819e-05/0.3391, allocations: 4 kB / 0.9722 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.3391, allocations: 11.44 kB / 0.9722 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.3391, allocations: 0 / 0.9722 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of Templates: time 0.003363/0.3424, allocations: 0.7787 MB / 0.973 GB, free: 7.094 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.841406066901982] Failed to read output from testmodel.py, exit status != 0: 0.3499162057414651 0.36389546100000003 0.027813577000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd3279f97b0>