Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001342/0.001342, allocations: 78.64 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.00155/0.00155, allocations: 166.5 kB / 22.46 MB, free: 5.363 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.42/1.42, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.002462/0.002462, allocations: 230.5 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.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 1.984 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.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.341e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002797/0.00282, allocations: 1.655 MB / 0.6484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3867/0.3895, allocations: 133.2 MB / 0.7785 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3896, allocations: 3.938 kB / 0.7785 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3898, allocations: 19.8 kB / 0.7785 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.39, allocations: 45.3 kB / 0.7785 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3905, allocations: 159.2 kB / 0.7787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.3907, allocations: 119.6 kB / 0.7788 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3908, allocations: 21.5 kB / 0.7788 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3922, allocations: 195.8 kB / 0.779 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.013e-05/0.3923, allocations: 31.91 kB / 0.779 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3923, allocations: 8 kB / 0.779 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.3927, allocations: 175.6 kB / 0.7792 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.3928, allocations: 23.92 kB / 0.7792 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.3928, allocations: 27.91 kB / 0.7793 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.3932, allocations: 211.4 kB / 0.7795 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3932, allocations: 0 / 0.7795 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3932, allocations: 0 / 0.7795 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3932, allocations: 0 / 0.7795 GB, free: 8.668 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000693/0.3939, allocations: 382 kB / 0.7798 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.394, allocations: 9.344 kB / 0.7798 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.395, allocations: 84.17 kB / 0.7799 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3952, allocations: 153.8 kB / 0.7801 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3952, allocations: 4 kB / 0.7801 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3953, allocations: 8 kB / 0.7801 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.3957, allocations: 137.6 kB / 0.7802 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3957, allocations: 0 / 0.7802 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3957, allocations: 0 / 0.7802 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3957, allocations: 0 / 0.7802 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.3964, allocations: 139.8 kB / 0.7803 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.3971, allocations: 338.3 kB / 0.7807 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.3979, allocations: 178.3 kB / 0.7808 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.3982, allocations: 76.78 kB / 0.7809 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3982, allocations: 3.938 kB / 0.7809 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3982, allocations: 34.56 kB / 0.7809 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3982, allocations: 0 / 0.7809 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008769/0.3991, allocations: 221 kB / 0.7812 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.3991, allocations: 55.41 kB / 0.7812 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3993, allocations: 133.1 kB / 0.7813 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3993, allocations: 29.7 kB / 0.7814 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.3994, allocations: 108.2 kB / 0.7815 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3994, allocations: 23.75 kB / 0.7815 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.3995, allocations: 29.7 kB / 0.7815 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3996, allocations: 318.8 kB / 0.7818 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.3999, allocations: 55.94 kB / 0.7819 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.4002, allocations: 125.9 kB / 0.782 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.4007, allocations: 120.8 kB / 0.7821 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4007, allocations: 0 / 0.7821 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005671/0.4012, allocations: 169.4 kB / 0.7823 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.4012, allocations: 8 kB / 0.7823 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4012, allocations: 0 / 0.7823 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4013, allocations: 0 / 0.7823 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.4015, allocations: 27.97 kB / 0.7823 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.4015, allocations: 0 / 0.7823 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.4016, allocations: 15.94 kB / 0.7823 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.4017, allocations: 15.97 kB / 0.7823 GB, free: 5.547 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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 0.0001129/0.4018, allocations: 113.8 kB / 0.7824 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.4018, allocations: 15.89 kB / 0.7825 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.4019, allocations: 16.78 kB / 0.7825 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4019, allocations: 0 / 0.7825 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4019, allocations: 0 / 0.7825 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4019, allocations: 3.984 kB / 0.7825 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/0.4028, allocations: 401.9 kB / 0.7829 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4028, allocations: 0 / 0.7829 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.403, allocations: 27.97 kB / 0.7829 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.403, allocations: 3.938 kB / 0.7829 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.403, allocations: 0 / 0.7829 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.403, allocations: 0 / 0.7829 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.403, allocations: 3.094 kB / 0.7829 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.4036, allocations: 267.3 kB / 0.7831 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.4036, allocations: 7.891 kB / 0.7832 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.4037, allocations: 4 kB / 0.7832 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.4038, allocations: 17.91 kB / 0.7832 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.4039, allocations: 11.98 kB / 0.7832 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.4039, allocations: 4 kB / 0.7832 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.404, allocations: 103.3 kB / 0.7833 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.404, allocations: 0 / 0.7833 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002803/0.4043, allocations: 27.94 kB / 0.7833 GB, free: 4.477 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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.0001814/0.4044, allocations: 107.2 kB / 0.7834 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.405, allocations: 131.3 kB / 0.7835 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.405, allocations: 0 / 0.7835 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.4053, allocations: 67.92 kB / 0.7836 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.4056, allocations: 27.92 kB / 0.7836 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.4062, allocations: 228.9 kB / 0.7839 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.4063, allocations: 84.31 kB / 0.7839 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.4064, allocations: 32.64 kB / 0.784 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.4065, allocations: 12.5 kB / 0.784 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.4065, allocations: 0 / 0.784 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.005559/0.412, allocations: 1.964 MB / 0.7859 GB, free: 1.859 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.850580707192421] Failed to read output from testmodel.py, exit status != 0: 0.4202922694385052 0.43592496900000005 0.039376977 Calling exit ...