Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.001745/0.001745, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.002171/0.002171, allocations: 161.1 kB / 22.46 MB, free: 5.375 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.002472/0.002472, allocations: 242.5 kB / 259.4 MB, free: 464 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.069/1.069, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.039e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002361/0.002391, allocations: 1.302 MB / 0.6481 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3728/0.3752, allocations: 115.8 MB / 0.7611 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.3752, allocations: 3.125 kB / 0.7611 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3753, allocations: 0 / 0.7611 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.635e-05/0.3753, allocations: 11.86 kB / 0.7611 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.3758, allocations: 49.94 kB / 0.7612 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3759, allocations: 30.64 kB / 0.7612 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.376, allocations: 0.9375 kB / 0.7612 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.611e-05/0.376, allocations: 11.27 kB / 0.7612 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.3761, allocations: 7.562 kB / 0.7612 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3761, allocations: 1.031 kB / 0.7612 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3762, allocations: 23.83 kB / 0.7613 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.3763, allocations: 1.531 kB / 0.7613 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3763, allocations: 8.141 kB / 0.7613 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.3764, allocations: 29.56 kB / 0.7613 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3764, allocations: 0.9375 kB / 0.7613 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3765, allocations: 4 kB / 0.7613 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3765, allocations: 0 / 0.7613 GB, free: 10.02 MB / 0.5919 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.0005467/0.377, allocations: 260 kB / 0.7616 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.3771, allocations: 9.312 kB / 0.7616 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.3771, allocations: 7.906 kB / 0.7616 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3773, allocations: 103.9 kB / 0.7617 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3774, allocations: 62.39 kB / 0.7617 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.3774, allocations: 1.594 kB / 0.7617 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3776, allocations: 36.28 kB / 0.7618 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3776, allocations: 5.344 kB / 0.7618 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3776, allocations: 384 / 0.7618 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3776, allocations: 6.656 kB / 0.7618 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3777, allocations: 19.42 kB / 0.7618 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.3779, allocations: 101.3 kB / 0.7619 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.378, allocations: 26.39 kB / 0.7619 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.894e-05/0.3781, allocations: 13.83 kB / 0.7619 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.3782, allocations: 12.98 kB / 0.7619 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3783, allocations: 36.09 kB / 0.762 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.3783, allocations: 0 / 0.762 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000252/0.3785, allocations: 64.34 kB / 0.762 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.3786, allocations: 52.84 kB / 0.7621 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.3786, allocations: 104.7 kB / 0.7622 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3787, allocations: 25.7 kB / 0.7622 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.3787, allocations: 81.23 kB / 0.7623 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3787, allocations: 12.81 kB / 0.7623 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3788, allocations: 18 kB / 0.7623 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3789, allocations: 310.8 kB / 0.7626 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.3789, allocations: 17.36 kB / 0.7626 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.379, allocations: 4.438 kB / 0.7626 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.3791, allocations: 22.91 kB / 0.7627 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3791, allocations: 0 / 0.7627 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001276/0.3792, allocations: 52.5 kB / 0.7627 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3792, allocations: 5.844 kB / 0.7627 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3792, allocations: 0 / 0.7627 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3792, allocations: 1.25 kB / 0.7627 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.3793, allocations: 13.11 kB / 0.7627 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3793, allocations: 5.125 kB / 0.7627 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.3793, allocations: 1.062 kB / 0.7627 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3793, allocations: 4.969 kB / 0.7627 GB, free: 8.516 MB / 0.5919 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 8.177e-05/0.3794, allocations: 107.4 kB / 0.7628 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.3794, allocations: 1.438 kB / 0.7628 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.3796, allocations: 63.95 kB / 0.7629 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3796, allocations: 3.312 kB / 0.7629 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3796, allocations: 0 / 0.7629 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3796, allocations: 10.03 kB / 0.7629 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.448e-05/0.3797, allocations: 111.9 kB / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3797, allocations: 0 / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.3797, allocations: 4.625 kB / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3797, allocations: 3 kB / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3798, allocations: 0 / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3798, allocations: 0 / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3798, allocations: 0 / 0.763 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3799, allocations: 77.11 kB / 0.7631 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.3799, allocations: 5.531 kB / 0.7631 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.38, allocations: 5.625 kB / 0.7631 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.38, allocations: 1.562 kB / 0.7631 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.38, allocations: 13.55 kB / 0.7631 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.38, allocations: 432 / 0.7631 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.3801, allocations: 86.39 kB / 0.7632 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.3801, allocations: 0 / 0.7632 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001875/0.3803, allocations: 8 kB / 0.7632 GB, free: 8.02 MB / 0.5919 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 (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 Backend phase and start with SimCode phase: time 0.0001761/0.3804, allocations: 111 kB / 0.7633 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3806, allocations: 21.08 kB / 0.7633 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3806, allocations: 4 kB / 0.7633 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-05/0.3806, allocations: 9.547 kB / 0.7634 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3809, allocations: 12.69 kB / 0.7634 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3812, allocations: 118.7 kB / 0.7635 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.294e-05/0.3812, allocations: 56.7 kB / 0.7635 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3813, allocations: 6.656 kB / 0.7635 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.3813, allocations: 11.16 kB / 0.7636 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.3813, allocations: 3.938 kB / 0.7636 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of Templates: time 0.003/0.3843, allocations: 0.5407 MB / 0.7641 GB, free: 7.461 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.809694975614548] Failed to read output from testmodel.py, exit status != 0: 0.3928031772375107 0.40685029599999994 0.027420291000000003 Calling exit ...