Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0009475/0.0009475, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009799/0.0009799, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9326/0.9326, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.001734/0.001734, allocations: 245.8 kB / 260.5 MB, free: 12.65 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.8183/0.8183, allocations: 138.4 MB / 455.5 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.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.242e-05, allocations: 5.969 kB / 0.5556 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002126/0.002148, allocations: 1.346 MB / 0.5569 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3698/0.372, allocations: 140.8 MB / 0.6943 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.372, allocations: 0 / 0.6943 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.3721, allocations: 9.516 kB / 0.6944 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.784e-05/0.3721, allocations: 11.25 kB / 0.6944 GB, free: 52.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3727, allocations: 114.6 kB / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.3728, allocations: 23.95 kB / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.3728, allocations: 3.219 kB / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.3729, allocations: 10.55 kB / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.3729, allocations: 5.469 kB / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3729, allocations: 0 / 0.6945 GB, free: 52.54 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.3733, allocations: 173.8 kB / 0.6947 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3733, allocations: 8.797 kB / 0.6947 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.3733, allocations: 7.859 kB / 0.6947 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3735, allocations: 121.1 kB / 0.6948 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.3735, allocations: 0 / 0.6948 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3735, allocations: 0 / 0.6948 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3736, allocations: 0 / 0.6948 GB, free: 52.52 MB / 0.5573 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.0003096/0.3739, allocations: 381 kB / 0.6952 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3739, allocations: 12.16 kB / 0.6952 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.3743, allocations: 51.42 kB / 0.6952 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.993e-05/0.3743, allocations: 111.7 kB / 0.6953 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3744, allocations: 4.016 kB / 0.6953 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.3744, allocations: 1.562 kB / 0.6953 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3745, allocations: 57.91 kB / 0.6954 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3745, allocations: 5.188 kB / 0.6954 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.3745, allocations: 0 / 0.6954 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3745, allocations: 1.125 kB / 0.6954 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.3745, allocations: 10.45 kB / 0.6954 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.3747, allocations: 237 kB / 0.6956 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.3747, allocations: 30.64 kB / 0.6957 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.3748, allocations: 19.09 kB / 0.6957 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.3748, allocations: 1.125 kB / 0.6957 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.3748, allocations: 37.53 kB / 0.6957 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3748, allocations: 0 / 0.6957 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001014/0.3749, allocations: 43.61 kB / 0.6958 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.3749, allocations: 57.66 kB / 0.6958 GB, free: 51.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.375, allocations: 170 kB / 0.696 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.375, allocations: 29.27 kB / 0.696 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.375, allocations: 128 kB / 0.6961 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.375, allocations: 7.125 kB / 0.6961 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.375, allocations: 22.92 kB / 0.6962 GB, free: 51.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.3751, allocations: 498.8 kB / 0.6966 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.3751, allocations: 2.062 kB / 0.6966 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.3751, allocations: 6.094 kB / 0.6967 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.3752, allocations: 21.09 kB / 0.6967 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3752, allocations: 1.094 kB / 0.6967 GB, free: 50.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.145e-05/0.3752, allocations: 57.2 kB / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3753, allocations: 5.25 kB / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3753, allocations: 1.312 kB / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3753, allocations: 0 / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.3754, allocations: 10.22 kB / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.3754, allocations: 0 / 0.6967 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.3754, allocations: 8.828 kB / 0.6968 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3754, allocations: 8.719 kB / 0.6968 GB, free: 50.59 MB / 0.5573 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 4.255e-05/0.3755, allocations: 152.6 kB / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.3755, allocations: 7.578 kB / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.3755, allocations: 7.531 kB / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3755, allocations: 0 / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.3755, allocations: 1.094 kB / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3755, allocations: 0 / 0.6969 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.937e-05/0.3756, allocations: 102.1 kB / 0.697 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3756, allocations: 0 / 0.697 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-06/0.3756, allocations: 2.625 kB / 0.697 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3756, allocations: 5.453 kB / 0.697 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.3756, allocations: 3.938 kB / 0.697 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3756, allocations: 4.125 kB / 0.697 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3756, allocations: 5.141 kB / 0.697 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.488e-05/0.3757, allocations: 186 kB / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.3757, allocations: 6.375 kB / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3757, allocations: 6.375 kB / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.3757, allocations: 0 / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.3757, allocations: 2.062 kB / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3758, allocations: 0 / 0.6972 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.3758, allocations: 133.1 kB / 0.6974 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3758, allocations: 0 / 0.6974 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001606/0.3759, allocations: 12.41 kB / 0.6974 GB, free: 49.98 MB / 0.5573 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 (2): * Single equations (assignments): 2 * 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.0001371/0.3761, allocations: 116.7 kB / 0.6975 GB, free: 49.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.3762, allocations: 22.78 kB / 0.6975 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3762, allocations: 0 / 0.6975 GB, free: 49.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-06/0.3762, allocations: 11.72 kB / 0.6975 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/0.3764, allocations: 11.89 kB / 0.6975 GB, free: 49.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.3768, allocations: 135.4 kB / 0.6977 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.228e-05/0.3768, allocations: 61.73 kB / 0.6977 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.293e-05/0.3768, allocations: 7.812 kB / 0.6977 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.3769, allocations: 73.73 kB / 0.6978 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/0.3769, allocations: 1.203 kB / 0.6978 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.002735/0.3796, allocations: 0.8922 MB / 0.6987 GB, free: 49.55 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.919220362789929]