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.001346/0.001346, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002046/0.002046, allocations: 215.3 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.002629/0.002629, allocations: 284.5 kB / 312.7 MB, free: 2.844 MB / 238.1 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 1.245/1.245, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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 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: "" <> 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 101.1 kB / 0.7396 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.2003, allocations: 95.39 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00249/0.2028, allocations: 1.316 MB / 0.834 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2038, allocations: 0.5827 MB / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.2038, allocations: 0 / 0.8346 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2039, allocations: 3.938 kB / 0.8346 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.2039, allocations: 11.92 kB / 0.8346 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.2043, allocations: 91.58 kB / 0.8347 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.2044, allocations: 23.86 kB / 0.8347 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.2044, allocations: 3.984 kB / 0.8347 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.2044, allocations: 11.94 kB / 0.8347 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.2045, allocations: 4 kB / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.2045, allocations: 0 / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/0.2048, allocations: 143.7 kB / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2048, allocations: 7.984 kB / 0.8349 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2048, allocations: 15.92 kB / 0.8349 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.205, allocations: 96 kB / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.205, allocations: 0 / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.205, allocations: 0 / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.205, allocations: 0 / 0.835 GB, free: 6.332 MB / 0.5762 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.0004019/0.2055, allocations: 270.2 kB / 0.8352 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2055, allocations: 9.344 kB / 0.8353 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.2055, allocations: 34.69 kB / 0.8353 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/0.206, allocations: 44.84 kB / 0.8353 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2061, allocations: 106.5 kB / 0.8354 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.2061, allocations: 384 / 0.8354 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2061, allocations: 384 / 0.8354 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2063, allocations: 50.22 kB / 0.8355 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2063, allocations: 7.938 kB / 0.8355 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2063, allocations: 4 kB / 0.8355 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2063, allocations: 0 / 0.8355 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2064, allocations: 23.97 kB / 0.8355 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.2066, allocations: 124.8 kB / 0.8356 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2067, allocations: 42.53 kB / 0.8357 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.2068, allocations: 20.91 kB / 0.8357 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2068, allocations: 0 / 0.8357 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2068, allocations: 30.56 kB / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.2068, allocations: 0 / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003053/0.2071, allocations: 81.62 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2072, allocations: 55.34 kB / 0.8359 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.2073, allocations: 97.84 kB / 0.8359 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2073, allocations: 29.7 kB / 0.836 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.2073, allocations: 80.14 kB / 0.8361 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.2074, allocations: 11.89 kB / 0.8361 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2074, allocations: 13.7 kB / 0.8361 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.2075, allocations: 322.9 kB / 0.8364 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.2076, allocations: 11.92 kB / 0.8364 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.2077, allocations: 15.98 kB / 0.8364 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2078, allocations: 24.84 kB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2078, allocations: 0 / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.2079, allocations: 69.67 kB / 0.8365 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.208, allocations: 7.938 kB / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.208, allocations: 0 / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.208, allocations: 0 / 0.8365 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.2081, allocations: 7.984 kB / 0.8365 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2081, allocations: 4 kB / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.2081, allocations: 0 / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.2081, allocations: 8.016 kB / 0.8365 GB, free: 4.559 MB / 0.5762 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.232e-05/0.2082, allocations: 110.5 kB / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.2082, allocations: 7.891 kB / 0.8366 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.2083, allocations: 3.312 kB / 0.8366 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2083, allocations: 4 kB / 0.8366 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2083, allocations: 4 kB / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2083, allocations: 0 / 0.8367 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.2084, allocations: 128.7 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2084, allocations: 4 kB / 0.8368 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.2085, allocations: 7.984 kB / 0.8368 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.2085, allocations: 4.125 kB / 0.8368 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2085, allocations: 0 / 0.8368 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2085, allocations: 7.984 kB / 0.8368 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2085, allocations: 0 / 0.8368 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.2087, allocations: 89.03 kB / 0.8369 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.2087, allocations: 11.98 kB / 0.8369 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2088, allocations: 3.938 kB / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.2088, allocations: 7.938 kB / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.2088, allocations: 0 / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2088, allocations: 0 / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.2089, allocations: 83.27 kB / 0.837 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2089, allocations: 0 / 0.837 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002005/0.2091, allocations: 15.97 kB / 0.837 GB, free: 4 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.0005709/0.2097, allocations: 0.6319 MB / 0.8376 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2098, allocations: 32 kB / 0.8376 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2098, allocations: 0 / 0.8376 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.524e-05/0.2099, allocations: 15.92 kB / 0.8377 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2101, allocations: 8 kB / 0.8377 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.2106, allocations: 152.6 kB / 0.8378 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.2109, allocations: 0.6729 MB / 0.8385 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.778e-05/0.211, allocations: 8 kB / 0.8385 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.211, allocations: 15.42 kB / 0.8385 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.211, allocations: 0 / 0.8385 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.2408, allocations: 1.684 MB / 0.8401 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.08, allocations: 8.438 kB / 0.8401 GB, free: 0.8242 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.448598087998107] Failed to read output from testmodel.py, exit status != 0: 11.188860308844596 11.214935604 11.005374392 Calling exit ...