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.0007475/0.0007475, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000752/0.000752, 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.8313/0.8313, allocations: 177.1 MB / 203.5 MB, free: 5.559 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.001309/0.001309, allocations: 233.8 kB / 260.2 MB, free: 12.88 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.659/0.659, allocations: 138.4 MB / 455.1 MB, free: 30.04 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.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 3.076e-06/3.076e-06, allocations: 7.938 kB / 0.6475 GB, free: 1.324 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/2.01e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001443/0.001463, allocations: 1.29 MB / 0.6488 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3627/0.3642, allocations: 115.8 MB / 0.7619 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3642, allocations: 0 / 0.7619 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.3642, allocations: 3.938 kB / 0.7619 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.3643, allocations: 7.922 kB / 0.7619 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3647, allocations: 46.7 kB / 0.7619 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.3648, allocations: 37.62 kB / 0.7619 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.3648, allocations: 0 / 0.7619 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.3649, allocations: 15.98 kB / 0.762 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.3649, allocations: 7.938 kB / 0.762 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3649, allocations: 0 / 0.762 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-05/0.365, allocations: 19.92 kB / 0.762 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.365, allocations: 4 kB / 0.762 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.365, allocations: 3.984 kB / 0.762 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3651, allocations: 37.25 kB / 0.762 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3652, allocations: 0 / 0.762 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3652, allocations: 4 kB / 0.762 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3652, allocations: 0 / 0.762 GB, free: 5.551 MB / 0.5886 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.0003624/0.3655, allocations: 255 kB / 0.7623 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3656, allocations: 13.94 kB / 0.7623 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3656, allocations: 3.344 kB / 0.7623 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.065e-05/0.3657, allocations: 109.8 kB / 0.7624 GB, free: 5.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.3658, allocations: 55.97 kB / 0.7625 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3658, allocations: 4.375 kB / 0.7625 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/0.3659, allocations: 44.52 kB / 0.7625 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3659, allocations: 192 / 0.7625 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3659, allocations: 4.375 kB / 0.7625 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3659, allocations: 4.125 kB / 0.7625 GB, free: 5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.3659, allocations: 15.98 kB / 0.7625 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.3661, allocations: 101.3 kB / 0.7626 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.998e-05/0.3661, allocations: 38.61 kB / 0.7627 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.119e-05/0.3662, allocations: 8.859 kB / 0.7627 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3663, allocations: 12.08 kB / 0.7627 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3663, allocations: 38.5 kB / 0.7627 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.3663, allocations: 0 / 0.7627 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.3664, allocations: 63.05 kB / 0.7628 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3665, allocations: 51.41 kB / 0.7628 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.3665, allocations: 101.8 kB / 0.7629 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3666, allocations: 25.7 kB / 0.7629 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.3666, allocations: 80.14 kB / 0.763 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3666, allocations: 16.42 kB / 0.763 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.3666, allocations: 9.719 kB / 0.763 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.3667, allocations: 314.8 kB / 0.7633 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.3667, allocations: 15.98 kB / 0.7634 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.3667, allocations: 4 kB / 0.7634 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.3668, allocations: 32.72 kB / 0.7634 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3668, allocations: 0 / 0.7634 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.533e-05/0.3669, allocations: 45.69 kB / 0.7634 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3669, allocations: 4 kB / 0.7634 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3669, allocations: 11.08 kB / 0.7635 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3669, allocations: 0 / 0.7635 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.3669, allocations: 8 kB / 0.7635 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.367, allocations: 3.938 kB / 0.7635 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.469e-05/0.367, allocations: 0 / 0.7635 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.367, allocations: 4 kB / 0.7635 GB, free: 3.906 MB / 0.5886 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 5.024e-05/0.367, allocations: 106.5 kB / 0.7636 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-06/0.367, allocations: 4 kB / 0.7636 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.3671, allocations: 62.88 kB / 0.7636 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3671, allocations: 0 / 0.7636 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3671, allocations: 48 / 0.7636 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3671, allocations: 7.922 kB / 0.7636 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.67e-05/0.3672, allocations: 113.3 kB / 0.7638 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3672, allocations: 0 / 0.7638 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.547e-05/0.3672, allocations: 8 kB / 0.7638 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.3672, allocations: 0 / 0.7638 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.3672, allocations: 2.312 kB / 0.7638 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.3672, allocations: 0 / 0.7638 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3672, allocations: 0 / 0.7638 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.155e-05/0.3673, allocations: 80.98 kB / 0.7638 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.3673, allocations: 7.938 kB / 0.7638 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.3673, allocations: 0 / 0.7638 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.3673, allocations: 11.98 kB / 0.7639 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.3674, allocations: 4 kB / 0.7639 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3674, allocations: 0 / 0.7639 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.3674, allocations: 83.22 kB / 0.7639 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.3674, allocations: 0 / 0.7639 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001201/0.3675, allocations: 8 kB / 0.7639 GB, free: 3.352 MB / 0.5886 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.0001275/0.3676, allocations: 111.2 kB / 0.7641 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.612e-05/0.3677, allocations: 23.97 kB / 0.7641 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3677, allocations: 4 kB / 0.7641 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.3677, allocations: 15.88 kB / 0.7641 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.368, allocations: 15.92 kB / 0.7641 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.3682, allocations: 132.2 kB / 0.7642 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.3682, allocations: 59.36 kB / 0.7643 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.3682, allocations: 8.5 kB / 0.7643 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.3682, allocations: 0 / 0.7643 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of Templates: time 0.001388/0.3696, allocations: 0.5889 MB / 0.7649 GB, free: 2.352 MB / 0.5886 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.107130376622081] Failed to read output from testmodel.py, exit status != 0: 0.3747637299820781 0.38268017699999995 0.015940587000000003 Calling exit ...