Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 294.6 kB / 303 MB, free: 9.492 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.251/1.251, allocations: 180.9 MB / 0.5261 GB, free: 14.63 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004647/0.004647, allocations: 105.8 kB / 0.7248 GB, free: 40.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2347, allocations: 94.16 MB / 0.8167 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003007/0.2377, allocations: 1.416 MB / 0.8181 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.2389, allocations: 0.5987 MB / 0.8187 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2389, allocations: 0 / 0.8187 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.2389, allocations: 7.922 kB / 0.8187 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.239, allocations: 7.922 kB / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.2395, allocations: 99.5 kB / 0.8188 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.2395, allocations: 31.88 kB / 0.8188 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2396, allocations: 7.984 kB / 0.8188 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.2397, allocations: 8 kB / 0.8188 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.2397, allocations: 11.91 kB / 0.8188 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.2397, allocations: 4 kB / 0.8188 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.24, allocations: 143.7 kB / 0.819 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.2401, allocations: 4 kB / 0.819 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.2401, allocations: 7.938 kB / 0.819 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.2403, allocations: 112 kB / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2403, allocations: 0 / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2403, allocations: 0 / 0.8191 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2403, allocations: 4 kB / 0.8191 GB, free: 2.961 MB / 0.5606 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.0005526/0.2409, allocations: 359.2 kB / 0.8194 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2409, allocations: 8.031 kB / 0.8195 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.241, allocations: 30.75 kB / 0.8195 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.2414, allocations: 36.84 kB / 0.8195 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2416, allocations: 168.3 kB / 0.8197 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2416, allocations: 4.375 kB / 0.8197 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2416, allocations: 384 / 0.8197 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2418, allocations: 62.2 kB / 0.8197 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2418, allocations: 3.938 kB / 0.8197 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2419, allocations: 0 / 0.8197 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2419, allocations: 4 kB / 0.8197 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.2421, allocations: 59.92 kB / 0.8198 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.2427, allocations: 268.8 kB / 0.8201 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.2429, allocations: 70.41 kB / 0.8201 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.243, allocations: 32.89 kB / 0.8202 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2431, allocations: 0 / 0.8202 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2431, allocations: 34.56 kB / 0.8202 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2431, allocations: 0 / 0.8202 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005192/0.2436, allocations: 117.5 kB / 0.8203 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2437, allocations: 55.39 kB / 0.8204 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.2438, allocations: 93.86 kB / 0.8204 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2438, allocations: 33.64 kB / 0.8205 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.552e-05/0.2438, allocations: 88.22 kB / 0.8206 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2439, allocations: 11.89 kB / 0.8206 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.2439, allocations: 17.7 kB / 0.8206 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2441, allocations: 314.8 kB / 0.8209 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2442, allocations: 23.97 kB / 0.8209 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2443, allocations: 27.97 kB / 0.8209 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.2446, allocations: 64.8 kB / 0.821 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2446, allocations: 3.938 kB / 0.821 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003104/0.2449, allocations: 89.58 kB / 0.8211 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2449, allocations: 4 kB / 0.8211 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2449, allocations: 0 / 0.8211 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2449, allocations: 0 / 0.8211 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.2451, allocations: 19.97 kB / 0.8211 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2451, allocations: 4 kB / 0.8211 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.2451, allocations: 7.984 kB / 0.8211 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.2451, allocations: 0 / 0.8211 GB, free: 0.6484 MB / 0.5606 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 9.913e-05/0.2452, allocations: 117.8 kB / 0.8212 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2453, allocations: 0 / 0.8212 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.2453, allocations: 3.125 kB / 0.8212 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2453, allocations: 0 / 0.8212 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2453, allocations: 0 / 0.8212 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2453, allocations: 4 kB / 0.8212 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.2455, allocations: 173.6 kB / 0.8214 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2455, allocations: 0 / 0.8214 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.2456, allocations: 15.98 kB / 0.8214 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2456, allocations: 0 / 0.8214 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2457, allocations: 8 kB / 0.8214 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2457, allocations: 0 / 0.8214 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2457, allocations: 0 / 0.8214 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.246, allocations: 195.3 kB / 0.8216 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.2461, allocations: 77.11 kB / 0.8217 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.2461, allocations: 4 kB / 0.8217 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2463, allocations: 7.984 kB / 0.8217 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.2463, allocations: 0 / 0.8217 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2463, allocations: 7.922 kB / 0.8217 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.2464, allocations: 83.28 kB / 0.8218 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2464, allocations: 4.031 kB / 0.8218 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002418/0.2466, allocations: 15.94 kB / 0.8218 GB, free: 15.86 MB / 0.5762 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.000752/0.2474, allocations: 0.728 MB / 0.8225 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.2477, allocations: 55.94 kB / 0.8226 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2477, allocations: 0 / 0.8226 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2478, allocations: 36.03 kB / 0.8226 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2481, allocations: 8.875 kB / 0.8226 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.2487, allocations: 168.1 kB / 0.8228 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.2491, allocations: 0.6768 MB / 0.8234 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.19e-05/0.2492, allocations: 12.06 kB / 0.8235 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.2492, allocations: 15.42 kB / 0.8235 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2492, allocations: 0 / 0.8235 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2746, allocations: 1.673 MB / 0.8251 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/8.105, allocations: 11.12 kB / 0.8251 GB, free: 12.52 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.22662622621283] Failed to read output from testmodel.py, exit status != 0: 8.17220392730087 8.184093701 7.940849889 Calling exit ...