Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.0007793/0.0007793, 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.000755/0.000755, 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.8605/0.8605, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.001364/0.001364, allocations: 226.1 kB / 260.2 MB, free: 13.02 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.6557/0.6557, allocations: 138.4 MB / 455.1 MB, free: 29.92 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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.6475 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.746e-05, allocations: 5.094 kB / 0.6476 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.2605/0.2605, allocations: 1.3 MB / 0.6488 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.2613, allocations: 0.5984 MB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.2613, allocations: 0.7188 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2613, allocations: 4.641 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.008e-05/0.2613, allocations: 6.688 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.2616, allocations: 105.6 kB / 0.6495 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.2617, allocations: 28.22 kB / 0.6495 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.721e-05/0.2617, allocations: 2.75 kB / 0.6495 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.2617, allocations: 17.75 kB / 0.6496 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.2618, allocations: 10.62 kB / 0.6496 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2618, allocations: 1.5 kB / 0.6496 GB, free: 56.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.262, allocations: 138.3 kB / 0.6497 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.262, allocations: 8.938 kB / 0.6497 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.262, allocations: 9.109 kB / 0.6497 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2621, allocations: 116 kB / 0.6498 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.2622, allocations: 0.75 kB / 0.6498 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2622, allocations: 5.344 kB / 0.6498 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2622, allocations: 0 / 0.6498 GB, free: 56.35 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002721/0.2624, allocations: 278.3 kB / 0.6501 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.2625, allocations: 10.5 kB / 0.6501 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.2627, allocations: 34.89 kB / 0.6502 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.474e-05/0.2628, allocations: 109.7 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2628, allocations: 2.656 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.2628, allocations: 3.875 kB / 0.6503 GB, free: 55.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.2629, allocations: 82.69 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2629, allocations: 1.25 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2629, allocations: 2.594 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2629, allocations: 1.219 kB / 0.6503 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.263, allocations: 31.44 kB / 0.6504 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.2631, allocations: 117.5 kB / 0.6505 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.2633, allocations: 66.02 kB / 0.6506 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.2633, allocations: 27.81 kB / 0.6506 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2633, allocations: 1.531 kB / 0.6506 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.2634, allocations: 32.92 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2634, allocations: 0.625 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.001602/0.265, allocations: 0.5003 MB / 0.6511 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.265, allocations: 61.53 kB / 0.6512 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.102e-05/0.265, allocations: 98.05 kB / 0.6513 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.265, allocations: 27.45 kB / 0.6513 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.265, allocations: 82.06 kB / 0.6514 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.2651, allocations: 22.78 kB / 0.6514 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2651, allocations: 26.92 kB / 0.6514 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.2651, allocations: 313.3 kB / 0.6517 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.2652, allocations: 38.33 kB / 0.6517 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/0.2653, allocations: 38.52 kB / 0.6518 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2654, allocations: 88.56 kB / 0.6519 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2654, allocations: 2.031 kB / 0.6519 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001849/0.2656, allocations: 128.2 kB / 0.652 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2656, allocations: 6.672 kB / 0.652 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2656, allocations: 0 / 0.652 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.2656, allocations: 0 / 0.652 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.2657, allocations: 28.08 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2657, allocations: 5.969 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.2658, allocations: 9.906 kB / 0.652 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2658, allocations: 4.516 kB / 0.652 GB, free: 54.84 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 (7): * Single equations (assignments): 7 * 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.451e-05/0.2658, allocations: 113.1 kB / 0.6521 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2659, allocations: 3.594 kB / 0.6521 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.2659, allocations: 16.06 kB / 0.6522 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2659, allocations: 3.094 kB / 0.6522 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2659, allocations: 3.938 kB / 0.6522 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2659, allocations: 0 / 0.6522 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.266, allocations: 125.2 kB / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.266, allocations: 0 / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.978e-05/0.2661, allocations: 27.12 kB / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2661, allocations: 0 / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2661, allocations: 8.906 kB / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2661, allocations: 0 / 0.6523 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2661, allocations: 5.844 kB / 0.6523 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.2664, allocations: 188.2 kB / 0.6525 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.2664, allocations: 7.188 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2664, allocations: 0 / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2665, allocations: 16.52 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.2665, allocations: 4.328 kB / 0.6525 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2665, allocations: 11.89 kB / 0.6525 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.225e-05/0.2665, allocations: 80.25 kB / 0.6526 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2665, allocations: 0 / 0.6526 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000148/0.2666, allocations: 31.09 kB / 0.6527 GB, free: 54.42 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001413/0.2668, allocations: 132.2 kB / 0.6528 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.267, allocations: 86.77 kB / 0.6529 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.267, allocations: 0 / 0.6529 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.267, allocations: 42.84 kB / 0.6529 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.2672, allocations: 17.75 kB / 0.6529 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.2675, allocations: 179.3 kB / 0.6531 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.237e-05/0.2676, allocations: 70.89 kB / 0.6532 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.2676, allocations: 21.77 kB / 0.6532 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2676, allocations: 0 / 0.6532 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.002395/0.27, allocations: 1.617 MB / 0.6548 GB, free: 53.99 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.135592165403068] Failed to read output from testmodel.py, exit status != 0: 0.27454410400241613 0.28144638199999994 0.017796557 Calling exit ...