Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.00135/0.00135, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001585/0.001585, allocations: 211.7 kB / 23.02 MB, free: 4.926 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.002591/0.002591, allocations: 285.2 kB / 313.5 MB, free: 2.609 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 14.58 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.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",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.003445/0.003445, allocations: 99.59 kB / 0.7402 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.197, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002945/0.1999, allocations: 1.424 MB / 0.8348 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.2004, allocations: 213.1 kB / 0.835 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.2005, allocations: 0 / 0.835 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2005, allocations: 3.938 kB / 0.835 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.2005, allocations: 3.938 kB / 0.835 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2008, allocations: 31.83 kB / 0.835 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.2008, allocations: 23.92 kB / 0.8351 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.2009, allocations: 8 kB / 0.8351 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.201, allocations: 8 kB / 0.8351 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.201, allocations: 15.92 kB / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.201, allocations: 0 / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2011, allocations: 31.98 kB / 0.8351 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.2012, allocations: 11.92 kB / 0.8351 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2012, allocations: 11.92 kB / 0.8351 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.2013, allocations: 36.12 kB / 0.8352 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2013, allocations: 4 kB / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2013, allocations: 0 / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2013, allocations: 0 / 0.8352 GB, free: 6.496 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004588/0.2018, allocations: 262.3 kB / 0.8354 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.2018, allocations: 9.344 kB / 0.8354 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.54e-05/0.2019, allocations: 4.188 kB / 0.8354 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.2019, allocations: 38.75 kB / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.202, allocations: 12.88 kB / 0.8355 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2022, allocations: 106.5 kB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2022, allocations: 4.375 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2022, allocations: 8.312 kB / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2024, allocations: 49.98 kB / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2024, allocations: 3.984 kB / 0.8357 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2024, allocations: 4 kB / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2024, allocations: 0 / 0.8357 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.2026, allocations: 39.95 kB / 0.8357 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.203, allocations: 216 kB / 0.8359 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2031, allocations: 34.5 kB / 0.8359 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.2032, allocations: 28.91 kB / 0.836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.2032, allocations: 0 / 0.836 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2032, allocations: 30.56 kB / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2032, allocations: 0 / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.2036, allocations: 89.59 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.2036, allocations: 51.41 kB / 0.8361 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.2037, allocations: 105.8 kB / 0.8362 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2037, allocations: 25.7 kB / 0.8362 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.2038, allocations: 88.12 kB / 0.8363 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.2038, allocations: 3.953 kB / 0.8363 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.2039, allocations: 17.72 kB / 0.8364 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.204, allocations: 319 kB / 0.8367 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.2041, allocations: 11.98 kB / 0.8367 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.308e-05/0.2042, allocations: 19.98 kB / 0.8367 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2043, allocations: 44.69 kB / 0.8367 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2043, allocations: 4 kB / 0.8367 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.2045, allocations: 61.73 kB / 0.8368 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2045, allocations: 8 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2045, allocations: 7.922 kB / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2046, allocations: 0 / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.2046, allocations: 7.938 kB / 0.8368 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.2046, allocations: 3.984 kB / 0.8368 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.2047, allocations: 7.984 kB / 0.8368 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2047, allocations: 8 kB / 0.8368 GB, free: 4.598 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 0.0001093/0.2048, allocations: 110.4 kB / 0.8369 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2048, allocations: 4.031 kB / 0.8369 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.2051, allocations: 76.95 kB / 0.837 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2051, allocations: 0 / 0.837 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2051, allocations: 4 kB / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2051, allocations: 0 / 0.837 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2053, allocations: 132.6 kB / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2053, allocations: 0 / 0.8371 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.048e-05/0.2054, allocations: 19.92 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2054, allocations: 0 / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2054, allocations: 4 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2054, allocations: 0 / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2054, allocations: 4 kB / 0.8372 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.2056, allocations: 163.5 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.2056, allocations: 4 kB / 0.8373 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2056, allocations: 0 / 0.8373 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.2057, allocations: 12.27 kB / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.2057, allocations: 4 kB / 0.8374 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2058, allocations: 3.984 kB / 0.8374 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.2058, allocations: 83.27 kB / 0.8374 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2058, allocations: 0 / 0.8374 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002359/0.206, allocations: 11.94 kB / 0.8374 GB, free: 3.895 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 (3): * Single equations (assignments): 3 * 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.000586/0.2066, allocations: 0.6967 MB / 0.8381 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2068, allocations: 43.95 kB / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2068, allocations: 0 / 0.8382 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.839e-05/0.2069, allocations: 27.91 kB / 0.8382 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2072, allocations: 6.375 kB / 0.8382 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.2077, allocations: 148.5 kB / 0.8383 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.351e-05/0.2078, allocations: 67.34 kB / 0.8384 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.2078, allocations: 4.062 kB / 0.8384 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.2078, allocations: 11.44 kB / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2078, allocations: 0 / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.2291, allocations: 1.553 MB / 0.8399 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.18, allocations: 15.38 kB / 0.84 GB, free: 1.406 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.511932136956602] Failed to read output from testmodel.py, exit status != 0: 11.341872857999988 11.358675078 11.154161648 Calling exit ...