Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.001299/0.001299, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001428/0.001428, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002744/0.002744, allocations: 283.2 kB / 313.5 MB, free: 2.832 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.233/1.233, allocations: 180.6 MB / 0.5377 GB, free: 12.97 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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002686/0.002686, allocations: 100 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2035, allocations: 95.39 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002619/0.2061, allocations: 1.306 MB / 0.8348 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6584/0.8645, allocations: 150.9 MB / 0.9822 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.8645, allocations: 3.938 kB / 0.9822 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.8645, allocations: 3.516 kB / 0.9822 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.8646, allocations: 6.703 kB / 0.9822 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.865, allocations: 118.1 kB / 0.9823 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.8651, allocations: 17.34 kB / 0.9823 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.8651, allocations: 5.875 kB / 0.9823 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.8651, allocations: 11.61 kB / 0.9823 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.8652, allocations: 8.5 kB / 0.9824 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.8652, allocations: 0 / 0.9824 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.8656, allocations: 183.1 kB / 0.9825 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.8656, allocations: 4.859 kB / 0.9825 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.8656, allocations: 7.516 kB / 0.9825 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.8658, allocations: 111.5 kB / 0.9826 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.8658, allocations: 0 / 0.9826 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.8658, allocations: 1.094 kB / 0.9826 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8658, allocations: 0 / 0.9826 GB, free: 3.625 MB / 0.7169 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.0003471/0.8662, allocations: 278.1 kB / 0.9829 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.8662, allocations: 10.66 kB / 0.9829 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.635e-05/0.8662, allocations: 7.25 kB / 0.9829 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.158e-05/0.8662, allocations: 34.25 kB / 0.983 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.8668, allocations: 42.03 kB / 0.983 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8669, allocations: 113 kB / 0.9831 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.8669, allocations: 5.438 kB / 0.9831 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.8669, allocations: 3.5 kB / 0.9831 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.8671, allocations: 48.97 kB / 0.9832 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.8671, allocations: 2.844 kB / 0.9832 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.8671, allocations: 0 / 0.9832 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8671, allocations: 1.188 kB / 0.9832 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.8672, allocations: 24.97 kB / 0.9832 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.8675, allocations: 226.8 kB / 0.9834 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.8676, allocations: 21.7 kB / 0.9834 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.8676, allocations: 12.84 kB / 0.9834 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.8676, allocations: 0.9375 kB / 0.9834 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.8676, allocations: 33.08 kB / 0.9835 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8676, allocations: 0.5625 kB / 0.9835 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.8678, allocations: 46.03 kB / 0.9835 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.8678, allocations: 52.02 kB / 0.9836 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.8679, allocations: 110.1 kB / 0.9837 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.868, allocations: 29.64 kB / 0.9837 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.868, allocations: 89.08 kB / 0.9838 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-06/0.868, allocations: 5.641 kB / 0.9838 GB, free: 18.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.8681, allocations: 22.77 kB / 0.9838 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.8682, allocations: 317.1 kB / 0.9841 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.8682, allocations: 9.922 kB / 0.9841 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.8683, allocations: 13.7 kB / 0.9841 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.892e-05/0.8684, allocations: 24.92 kB / 0.9842 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.8684, allocations: 0.9844 kB / 0.9842 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001902/0.8686, allocations: 57.03 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.8686, allocations: 7.156 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.8686, allocations: 0.9062 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.8686, allocations: 0.8438 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.8687, allocations: 17.59 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.8687, allocations: 1.625 kB / 0.9842 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8688, allocations: 7.672 kB / 0.9843 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.8689, allocations: 8.922 kB / 0.9843 GB, free: 18.15 MB / 0.7325 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 (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 prepare postOptimizeDAE: time 7.582e-05/0.8689, allocations: 110.1 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.869, allocations: 5.391 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.869, allocations: 9.078 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.869, allocations: 0.6875 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.869, allocations: 1.938 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.869, allocations: 0.5625 kB / 0.9844 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.8691, allocations: 127.3 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8691, allocations: 2.25 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.8692, allocations: 3.969 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8692, allocations: 2.047 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.8692, allocations: 0.6562 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8692, allocations: 1.969 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8692, allocations: 1 kB / 0.9845 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.8693, allocations: 142 kB / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.8693, allocations: 6.844 kB / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.8693, allocations: 0.8125 kB / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.8694, allocations: 7.969 kB / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.8694, allocations: 3.125 kB / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.8694, allocations: 0 / 0.9847 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.791e-05/0.8695, allocations: 96.84 kB / 0.9848 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6e-08/0.8695, allocations: 0 / 0.9848 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002409/0.8698, allocations: 19.25 kB / 0.9848 GB, free: 17.66 MB / 0.7325 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.0004852/0.8703, allocations: 0.6792 MB / 0.9854 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.8704, allocations: 21.67 kB / 0.9855 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8704, allocations: 0 / 0.9855 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.8704, allocations: 7.781 kB / 0.9855 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.8707, allocations: 11.97 kB / 0.9855 GB, free: 17.01 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.8711, allocations: 166.1 kB / 0.9856 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.8715, allocations: 0.6791 MB / 0.9863 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.86e-05/0.8715, allocations: 11.98 kB / 0.9863 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.8716, allocations: 12.06 kB / 0.9863 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.8716, allocations: 0 / 0.9863 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.8939, allocations: 1.738 MB / 0.988 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.7, allocations: 10.28 kB / 0.988 GB, free: 15.78 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.000993388995994] Failed to read output from testmodel.py, exit status != 0: 11.850009374960791 11.863755874 10.995188228 Calling exit ...