Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.0008146/0.0008146, 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.0008004/0.0008004, allocations: 178.2 kB / 23.22 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.8836/0.8836, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.001318/0.001318, allocations: 237.3 kB / 260.2 MB, free: 13.04 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.6467/0.6467, allocations: 138.4 MB / 455.1 MB, free: 30.02 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.806e-05, allocations: 9.312 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001599/0.001627, allocations: 1.306 MB / 0.6488 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2577/0.2593, allocations: 0.527 MB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2594, allocations: 0 / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.2594, allocations: 0.5625 kB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.2594, allocations: 9.797 kB / 0.6493 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2598, allocations: 98.17 kB / 0.6494 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.592e-05/0.2598, allocations: 23.94 kB / 0.6494 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.2599, allocations: 2.641 kB / 0.6494 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.2599, allocations: 8.125 kB / 0.6495 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.2599, allocations: 9.969 kB / 0.6495 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.26, allocations: 1.594 kB / 0.6495 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.2603, allocations: 139.4 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2603, allocations: 2.344 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2604, allocations: 9.188 kB / 0.6496 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.2607, allocations: 107.1 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2607, allocations: 0.5156 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2607, allocations: 1.531 kB / 0.6497 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2607, allocations: 0 / 0.6497 GB, free: 56.32 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003328/0.261, allocations: 266.2 kB / 0.65 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.261, allocations: 9.656 kB / 0.65 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.2613, allocations: 34.64 kB / 0.65 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.476e-05/0.2614, allocations: 115.3 kB / 0.6501 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2614, allocations: 1.125 kB / 0.6501 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2614, allocations: 1.438 kB / 0.6501 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.2615, allocations: 52.55 kB / 0.6502 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2615, allocations: 0.75 kB / 0.6502 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2616, allocations: 1.062 kB / 0.6502 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2616, allocations: 0.9688 kB / 0.6502 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.2616, allocations: 27.78 kB / 0.6502 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.2618, allocations: 106.4 kB / 0.6503 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.2618, allocations: 43.95 kB / 0.6503 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.2619, allocations: 20.23 kB / 0.6504 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2619, allocations: 0.7188 kB / 0.6504 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2619, allocations: 34.2 kB / 0.6504 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2619, allocations: 0.6562 kB / 0.6504 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/0.2621, allocations: 73.08 kB / 0.6505 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.2622, allocations: 52.88 kB / 0.6505 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.2622, allocations: 102.8 kB / 0.6506 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2622, allocations: 25.7 kB / 0.6506 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.2622, allocations: 83.2 kB / 0.6507 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2623, allocations: 11.36 kB / 0.6507 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.2623, allocations: 18.23 kB / 0.6507 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.348e-05/0.2623, allocations: 315.3 kB / 0.651 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.2624, allocations: 12.02 kB / 0.6511 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.2624, allocations: 14.05 kB / 0.6511 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.282e-05/0.2625, allocations: 31.58 kB / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2625, allocations: 0 / 0.6511 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001027/0.2626, allocations: 58.64 kB / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2626, allocations: 5.938 kB / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2626, allocations: 1.562 kB / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2626, allocations: 0 / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.056e-05/0.2627, allocations: 14.5 kB / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2627, allocations: 1.453 kB / 0.6512 GB, free: 55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.2627, allocations: 6.5 kB / 0.6512 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2627, allocations: 2.234 kB / 0.6512 GB, free: 54.99 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 (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 prepare postOptimizeDAE: time 4.425e-05/0.2628, allocations: 111.8 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.2628, allocations: 4.984 kB / 0.6513 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2628, allocations: 13.45 kB / 0.6513 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2628, allocations: 0.75 kB / 0.6513 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2628, allocations: 6.797 kB / 0.6513 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2628, allocations: 4.688 kB / 0.6513 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.998e-05/0.2629, allocations: 103.2 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.2629, allocations: 1.469 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.2629, allocations: 7.797 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.2629, allocations: 0 / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2629, allocations: 2 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2629, allocations: 1.297 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2629, allocations: 1 kB / 0.6514 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.263, allocations: 90.5 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.2631, allocations: 5.734 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.2631, allocations: 2.953 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.2631, allocations: 6.375 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.2631, allocations: 2.375 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2631, allocations: 1.438 kB / 0.6515 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.2631, allocations: 80.75 kB / 0.6516 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2631, allocations: 0 / 0.6516 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001585/0.2633, allocations: 19.64 kB / 0.6516 GB, free: 54.59 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.000145/0.2634, allocations: 114.3 kB / 0.6517 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.2636, allocations: 32.94 kB / 0.6518 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2636, allocations: 0.6562 kB / 0.6518 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.2636, allocations: 17.98 kB / 0.6518 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.2638, allocations: 9.672 kB / 0.6518 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.2641, allocations: 137.6 kB / 0.6519 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.2641, allocations: 58.19 kB / 0.652 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.2641, allocations: 15.91 kB / 0.652 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.2641, allocations: 0 / 0.652 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.001983/0.2661, allocations: 0.8012 MB / 0.6528 GB, free: 54.25 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.438168837688863] Failed to read output from testmodel.py, exit status != 0: 0.2715694420039654 0.27951025100000004 0.017057237 Calling exit ...