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.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.00188/0.00188, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002096/0.002096, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.514/1.514, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.002451/0.002451, allocations: 295.1 kB / 303 MB, free: 9.582 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.225/1.225, allocations: 180.9 MB / 0.5261 GB, free: 14.61 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.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 105.9 kB / 0.7248 GB, free: 40.05 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1976, allocations: 94.15 MB / 0.8167 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002475/0.2001, allocations: 1.296 MB / 0.818 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2011, allocations: 0.5713 MB / 0.8185 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.2011, allocations: 0 / 0.8185 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.2012, allocations: 3.984 kB / 0.8185 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.2012, allocations: 7.938 kB / 0.8186 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.2016, allocations: 95.56 kB / 0.8186 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.2017, allocations: 19.86 kB / 0.8187 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.2017, allocations: 4 kB / 0.8187 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.2017, allocations: 7.938 kB / 0.8187 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.2018, allocations: 7.938 kB / 0.8187 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2018, allocations: 0 / 0.8187 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2021, allocations: 151.7 kB / 0.8188 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-06/0.2021, allocations: 0 / 0.8188 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.2021, allocations: 11.94 kB / 0.8188 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.2023, allocations: 88.06 kB / 0.8189 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2023, allocations: 3.938 kB / 0.8189 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2023, allocations: 0 / 0.8189 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2023, allocations: 3.938 kB / 0.8189 GB, free: 3.203 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004722/0.2028, allocations: 355.2 kB / 0.8193 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2028, allocations: 8.031 kB / 0.8193 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.2029, allocations: 30.75 kB / 0.8193 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.2033, allocations: 28.89 kB / 0.8193 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2034, allocations: 160.4 kB / 0.8195 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2034, allocations: 4.375 kB / 0.8195 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.2034, allocations: 8.375 kB / 0.8195 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.2036, allocations: 46.22 kB / 0.8195 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2036, allocations: 3.938 kB / 0.8195 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.2036, allocations: 0 / 0.8195 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2036, allocations: 0 / 0.8195 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2038, allocations: 27.91 kB / 0.8196 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.2039, allocations: 161.6 kB / 0.8197 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.2041, allocations: 42.59 kB / 0.8198 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/0.2042, allocations: 12.91 kB / 0.8198 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2042, allocations: 3.984 kB / 0.8198 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2042, allocations: 42.56 kB / 0.8198 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2042, allocations: 0 / 0.8198 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003014/0.2045, allocations: 73.53 kB / 0.8199 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.2046, allocations: 55.41 kB / 0.8199 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.2046, allocations: 97.84 kB / 0.82 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2047, allocations: 25.7 kB / 0.8201 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.2047, allocations: 84.27 kB / 0.8201 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.2048, allocations: 7.953 kB / 0.8202 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.2048, allocations: 17.7 kB / 0.8202 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2049, allocations: 310.8 kB / 0.8205 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.205, allocations: 19.92 kB / 0.8205 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.205, allocations: 7.984 kB / 0.8205 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2052, allocations: 36.91 kB / 0.8205 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2052, allocations: 4 kB / 0.8205 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001702/0.2053, allocations: 57.61 kB / 0.8206 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2054, allocations: 7.938 kB / 0.8206 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2054, allocations: 0 / 0.8206 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2054, allocations: 8.031 kB / 0.8206 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2055, allocations: 11.92 kB / 0.8206 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2055, allocations: 0 / 0.8206 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.2055, allocations: 192 / 0.8206 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.2055, allocations: 7.984 kB / 0.8206 GB, free: 1.234 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 8.208e-05/0.2056, allocations: 109.8 kB / 0.8207 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.2056, allocations: 7.922 kB / 0.8207 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.2057, allocations: 11.12 kB / 0.8207 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2057, allocations: 0 / 0.8207 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2057, allocations: 0 / 0.8207 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2057, allocations: 0 / 0.8207 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.2058, allocations: 157.6 kB / 0.8209 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2058, allocations: 0 / 0.8209 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.2059, allocations: 7.984 kB / 0.8209 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2059, allocations: 3.938 kB / 0.8209 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2059, allocations: 4 kB / 0.8209 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2059, allocations: 3.984 kB / 0.8209 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2059, allocations: 4 kB / 0.8209 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2061, allocations: 89 kB / 0.821 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.2062, allocations: 81.09 kB / 0.8211 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.2062, allocations: 3.938 kB / 0.8211 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.2063, allocations: 4.031 kB / 0.8211 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.2063, allocations: 4 kB / 0.8211 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2063, allocations: 0 / 0.8211 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.2063, allocations: 87.27 kB / 0.8212 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2063, allocations: 0 / 0.8212 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002008/0.2065, allocations: 15.94 kB / 0.8212 GB, free: 0.5586 MB / 0.5606 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.0005892/0.2071, allocations: 0.6396 MB / 0.8218 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2073, allocations: 23.97 kB / 0.8218 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2073, allocations: 4 kB / 0.8218 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.2074, allocations: 20.08 kB / 0.8219 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2076, allocations: 4.938 kB / 0.8219 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.2081, allocations: 158.4 kB / 0.822 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.2084, allocations: 0.6729 MB / 0.8227 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.47e-05/0.2084, allocations: 12 kB / 0.8227 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.2085, allocations: 15.42 kB / 0.8227 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2085, allocations: 0 / 0.8227 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.2328, allocations: 1.589 MB / 0.8243 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/7.993, allocations: 16.45 kB / 0.8243 GB, free: 13.47 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.274309329222888] Failed to read output from testmodel.py, exit status != 0: 8.061247133184224 8.086967806 7.879960709 Calling exit ...