Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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.0007273/0.0007273, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007075/0.0007075, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8349/0.8349, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.001372/0.001372, allocations: 225.6 kB / 260.2 MB, free: 13.03 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.6691/0.6691, allocations: 138.4 MB / 455.1 MB, free: 30 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: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.612e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.26/0.26, allocations: 1.655 MB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1218/0.3818, allocations: 131.6 MB / 0.7776 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3819, allocations: 0 / 0.7776 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3821, allocations: 23.8 kB / 0.7776 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3823, allocations: 59.52 kB / 0.7777 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.3827, allocations: 191.2 kB / 0.7779 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.3829, allocations: 167.4 kB / 0.778 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.383, allocations: 18.62 kB / 0.778 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008963/0.3839, allocations: 223.8 kB / 0.7783 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.384, allocations: 51.86 kB / 0.7783 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.384, allocations: 12 kB / 0.7783 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.3843, allocations: 163.7 kB / 0.7785 GB, free: 4.645 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.3843, allocations: 23.91 kB / 0.7785 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.297e-05/0.3844, allocations: 35.91 kB / 0.7785 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.3847, allocations: 235.2 kB / 0.7787 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3847, allocations: 0.6562 kB / 0.7787 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3847, allocations: 0 / 0.7787 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3847, allocations: 0 / 0.7787 GB, free: 4.355 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006137/0.3853, allocations: 398.5 kB / 0.7791 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3853, allocations: 13.94 kB / 0.7791 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.3858, allocations: 72.81 kB / 0.7792 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.386, allocations: 152.9 kB / 0.7794 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.386, allocations: 9.688 kB / 0.7794 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.386, allocations: 4 kB / 0.7794 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3863, allocations: 183.7 kB / 0.7795 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3863, allocations: 7.922 kB / 0.7796 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3863, allocations: 0 / 0.7796 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3863, allocations: 5.688 kB / 0.7796 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002545/0.3866, allocations: 147.8 kB / 0.7797 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.3873, allocations: 0.6894 MB / 0.7804 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3875, allocations: 126.5 kB / 0.7805 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3876, allocations: 72.8 kB / 0.7806 GB, free: 2.375 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3876, allocations: 3.938 kB / 0.7806 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3877, allocations: 38.56 kB / 0.7806 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.3877, allocations: 0 / 0.7806 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009883/0.3887, allocations: 386.2 kB / 0.781 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.3887, allocations: 55.41 kB / 0.781 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3888, allocations: 141.8 kB / 0.7812 GB, free: 1.723 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3888, allocations: 25.7 kB / 0.7812 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.3889, allocations: 116.1 kB / 0.7813 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3889, allocations: 29.91 kB / 0.7813 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.389, allocations: 29.69 kB / 0.7814 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.389, allocations: 318.8 kB / 0.7817 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.3892, allocations: 75.92 kB / 0.7817 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3893, allocations: 104.2 kB / 0.7818 GB, free: 1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3896, allocations: 184.2 kB / 0.782 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3896, allocations: 0 / 0.782 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005842/0.3901, allocations: 278.1 kB / 0.7823 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3902, allocations: 7.125 kB / 0.7823 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.3902, allocations: 8.125 kB / 0.7823 GB, free: 0.5156 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.3905, allocations: 84.7 kB / 0.7824 GB, free: 440 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3906, allocations: 35.95 kB / 0.7824 GB, free: 404 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.392, allocations: 1.541 MB / 0.7839 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3921, allocations: 19.94 kB / 0.7839 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3922, allocations: 8.547 kB / 0.7839 GB, free: 14.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.3922, allocations: 126.5 kB / 0.7841 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3923, allocations: 7.953 kB / 0.7841 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.3928, allocations: 312.1 kB / 0.7844 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3928, allocations: 4 kB / 0.7844 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3928, allocations: 4 kB / 0.7844 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3928, allocations: 3.938 kB / 0.7844 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.393, allocations: 167.5 kB / 0.7845 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.393, allocations: 0 / 0.7845 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.3931, allocations: 27.97 kB / 0.7846 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002006/0.3933, allocations: 80.77 kB / 0.7846 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3933, allocations: 3.938 kB / 0.7846 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3943, allocations: 1.558 MB / 0.7862 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3943, allocations: 0 / 0.7862 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.3948, allocations: 381.7 kB / 0.7865 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.3948, allocations: 27.92 kB / 0.7865 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3949, allocations: 0 / 0.7865 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.3949, allocations: 15.98 kB / 0.7866 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.395, allocations: 19.97 kB / 0.7866 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.395, allocations: 3.984 kB / 0.7866 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.395, allocations: 106.5 kB / 0.7867 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.395, allocations: 4 kB / 0.7867 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002347/0.3953, allocations: 47.89 kB / 0.7867 GB, free: 11.68 MB / 0.6198 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.3955, allocations: 115.1 kB / 0.7868 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.396, allocations: 304.3 kB / 0.7871 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.396, allocations: 0 / 0.7871 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.3965, allocations: 237.1 kB / 0.7874 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3967, allocations: 23.03 kB / 0.7874 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.3973, allocations: 332.8 kB / 0.7877 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.37e-05/0.3973, allocations: 93.81 kB / 0.7878 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.3974, allocations: 24.47 kB / 0.7878 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.3974, allocations: 0 / 0.7878 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.003296/0.4007, allocations: 2.729 MB / 0.7905 GB, free: 7.805 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.559837610460818] Failed to read output from testmodel.py, exit status != 0: 0.4066839050501585 0.41532773399999995 0.028934225 Calling exit ...