Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001177/0.001177, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001266/0.001266, allocations: 191.2 kB / 22.23 MB, free: 5.105 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.335/1.335, 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.002467/0.002467, allocations: 287.5 kB / 306.6 MB, free: 8.344 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.138/1.138, allocations: 180.9 MB / 0.53 GB, free: 14.41 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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 103.4 kB / 0.7308 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1605, allocations: 94.2 MB / 0.8228 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003272/0.1638, allocations: 1.931 MB / 0.8247 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.336, allocations: 156 MB / 0.9771 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.3361, allocations: 4 kB / 0.9771 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.3363, allocations: 27.72 kB / 0.9771 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.3366, allocations: 83.41 kB / 0.9772 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006899/0.3373, allocations: 263.1 kB / 0.9774 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.3377, allocations: 275 kB / 0.9777 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3378, allocations: 46.55 kB / 0.9777 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.3392, allocations: 254.7 kB / 0.978 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3394, allocations: 91.61 kB / 0.9781 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.3395, allocations: 16 kB / 0.9781 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3398, allocations: 183.7 kB / 0.9783 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.3399, allocations: 47.81 kB / 0.9783 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.34, allocations: 87.59 kB / 0.9784 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.3405, allocations: 286.8 kB / 0.9787 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3405, allocations: 4 kB / 0.9787 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3405, allocations: 3.938 kB / 0.9787 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3405, allocations: 3.938 kB / 0.9787 GB, free: 1.664 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009318/0.3414, allocations: 461.3 kB / 0.9791 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3414, allocations: 8.031 kB / 0.9791 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.3423, allocations: 91.77 kB / 0.9792 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3426, allocations: 170 kB / 0.9794 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.3426, allocations: 38.03 kB / 0.9794 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.3427, allocations: 16 kB / 0.9794 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.3432, allocations: 267.9 kB / 0.9797 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3432, allocations: 0 / 0.9797 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3432, allocations: 8 kB / 0.9797 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.3432, allocations: 11.98 kB / 0.9797 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.3437, allocations: 167.8 kB / 0.9799 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3454, allocations: 1.152 MB / 0.981 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.3461, allocations: 202.6 kB / 0.9812 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3463, allocations: 60.83 kB / 0.9812 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3463, allocations: 0 / 0.9812 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3463, allocations: 42.55 kB / 0.9813 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 8.92e-07/0.3463, allocations: 0 / 0.9813 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.002529/0.3489, allocations: 495 kB / 0.9817 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.3489, allocations: 55.41 kB / 0.9818 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3491, allocations: 208.2 kB / 0.982 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3492, allocations: 25.7 kB / 0.982 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3493, allocations: 140.2 kB / 0.9821 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.3493, allocations: 43.62 kB / 0.9822 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.3494, allocations: 49.64 kB / 0.9822 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3495, allocations: 338.8 kB / 0.9826 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3497, allocations: 67.95 kB / 0.9826 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.35, allocations: 134.4 kB / 0.9828 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.3504, allocations: 201.5 kB / 0.9829 GB, free: 13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3504, allocations: 0 / 0.9829 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00141/0.3518, allocations: 374.7 kB / 0.9833 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3518, allocations: 4 kB / 0.9833 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3518, allocations: 4 kB / 0.9833 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.3529, allocations: 161.8 kB / 0.9835 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3532, allocations: 43.91 kB / 0.9835 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.3571, allocations: 3.044 MB / 0.9865 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3574, allocations: 27.88 kB / 0.9865 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3575, allocations: 12.17 kB / 0.9865 GB, free: 9.082 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.3576, allocations: 137.8 kB / 0.9867 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.3577, allocations: 27.84 kB / 0.9867 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.3589, allocations: 372.2 kB / 0.987 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3589, allocations: 0 / 0.987 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.3589, allocations: 3.984 kB / 0.987 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3589, allocations: 4 kB / 0.987 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3593, allocations: 244.5 kB / 0.9873 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3593, allocations: 0 / 0.9873 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.3594, allocations: 23.92 kB / 0.9873 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/0.3602, allocations: 153.5 kB / 0.9874 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3602, allocations: 0 / 0.9874 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.3639, allocations: 3.091 MB / 0.9905 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3639, allocations: 0 / 0.9905 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3651, allocations: 435.3 kB / 0.9909 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.3652, allocations: 43.72 kB / 0.9909 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3652, allocations: 0 / 0.9909 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.3655, allocations: 15.98 kB / 0.9909 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.3656, allocations: 23.95 kB / 0.991 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3656, allocations: 4 kB / 0.991 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001811/0.3658, allocations: 167.1 kB / 0.9911 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3658, allocations: 0 / 0.9911 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003748/0.3662, allocations: 71.94 kB / 0.9912 GB, free: 3.969 MB / 0.7325 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.3663, allocations: 111.1 kB / 0.9913 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.3673, allocations: 445.7 kB / 0.9917 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3673, allocations: 4 kB / 0.9917 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006549/0.368, allocations: 349.1 kB / 0.9921 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3684, allocations: 55.94 kB / 0.9921 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.3693, allocations: 429.3 kB / 0.9925 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3697, allocations: 0.7401 MB / 0.9932 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.3698, allocations: 41.91 kB / 0.9933 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.3699, allocations: 19.42 kB / 0.9933 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.3699, allocations: 0 / 0.9933 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.01027/0.3801, allocations: 5.568 MB / 0.9987 GB, free: 12.19 MB / 0.7481 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.273188589140773] Failed to read output from testmodel.py, exit status != 0: 0.3870729049667716 0.660033962 0.05774196 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7b153257b0>