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.001633/0.001633, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001974/0.001974, allocations: 215 kB / 20.13 MB, free: 2.949 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002501/0.002501, allocations: 278.5 kB / 309.8 MB, free: 3.527 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.132/1.132, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 178] 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.002852/0.002852, allocations: 103.8 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.634, allocations: 95.33 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002448/0.6365, allocations: 1.31 MB / 0.8291 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2204/0.8569, allocations: 150.9 MB / 0.9765 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.8569, allocations: 0 / 0.9765 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.8569, allocations: 0 / 0.9765 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.857, allocations: 3.938 kB / 0.9765 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.8574, allocations: 123.4 kB / 0.9766 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 6.66e-05/0.8575, allocations: 11.94 kB / 0.9766 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.8576, allocations: 7.938 kB / 0.9766 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.8576, allocations: 15.98 kB / 0.9766 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 3.64e-05/0.8576, allocations: 11.92 kB / 0.9766 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8576, allocations: 0 / 0.9766 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.8581, allocations: 175.7 kB / 0.9768 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.8581, allocations: 0 / 0.9768 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.8581, allocations: 7.938 kB / 0.9768 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.8583, allocations: 118.5 kB / 0.9769 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.8584, allocations: 0 / 0.9769 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8584, allocations: 0 / 0.9769 GB, free: 0.9766 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.8584, allocations: 3.938 kB / 0.9769 GB, free: 0.9727 MB / 0.7012 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.0004211/0.8588, allocations: 359.2 kB / 0.9773 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8588, allocations: 8.031 kB / 0.9773 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.597e-05/0.8588, allocations: 4.188 kB / 0.9773 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.8589, allocations: 30.75 kB / 0.9773 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.8595, allocations: 36.84 kB / 0.9773 GB, free: 500 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.8596, allocations: 175.9 kB / 0.9775 GB, free: 284 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8596, allocations: 8 kB / 0.9775 GB, free: 276 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.8597, allocations: 0 / 0.9775 GB, free: 276 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.8599, allocations: 45.67 kB / 0.9775 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8599, allocations: 0 / 0.9775 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8599, allocations: 0 / 0.9775 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.8599, allocations: 4 kB / 0.9776 GB, free: 220 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.86, allocations: 19.91 kB / 0.9776 GB, free: 200 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.8604, allocations: 256.9 kB / 0.9778 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.736e-05/0.8605, allocations: 22.56 kB / 0.9778 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.8605, allocations: 12.92 kB / 0.9778 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.8605, allocations: 3.938 kB / 0.9779 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.8606, allocations: 34.56 kB / 0.9779 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.8606, allocations: 0 / 0.9779 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.8608, allocations: 45.64 kB / 0.9779 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.8608, allocations: 51.41 kB / 0.978 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.861, allocations: 113.9 kB / 0.9781 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.861, allocations: 25.7 kB / 0.9781 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.861, allocations: 88.09 kB / 0.9782 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.8611, allocations: 8.078 kB / 0.9782 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.8611, allocations: 21.7 kB / 0.9782 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8613, allocations: 310.8 kB / 0.9785 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.8613, allocations: 15.98 kB / 0.9785 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.8614, allocations: 12.02 kB / 0.9785 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.085e-05/0.8615, allocations: 24.84 kB / 0.9786 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.8615, allocations: 4 kB / 0.9786 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001931/0.8617, allocations: 57.61 kB / 0.9786 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.8617, allocations: 8 kB / 0.9786 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.8617, allocations: 0 / 0.9786 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8617, allocations: 0 / 0.9786 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.8618, allocations: 7.984 kB / 0.9786 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.8618, allocations: 3.938 kB / 0.9786 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.862, allocations: 15.98 kB / 0.9787 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.862, allocations: 0 / 0.9787 GB, free: 14.94 MB / 0.7169 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 8.696e-05/0.8621, allocations: 109.3 kB / 0.9788 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.8621, allocations: 7.953 kB / 0.9788 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.8621, allocations: 15.05 kB / 0.9788 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8621, allocations: 0 / 0.9788 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8621, allocations: 3.938 kB / 0.9788 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.8621, allocations: 0 / 0.9788 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.8623, allocations: 153.7 kB / 0.9789 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8623, allocations: 4 kB / 0.9789 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-05/0.8623, allocations: 7.938 kB / 0.979 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.8623, allocations: 0 / 0.979 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-06/0.8624, allocations: 0 / 0.979 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8624, allocations: 0 / 0.979 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8624, allocations: 3.938 kB / 0.979 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.8625, allocations: 139.5 kB / 0.9791 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.8625, allocations: 77.11 kB / 0.9792 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.8626, allocations: 8.031 kB / 0.9792 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.8627, allocations: 4 kB / 0.9792 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.8627, allocations: 7.922 kB / 0.9792 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.8627, allocations: 0 / 0.9792 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001028/0.8628, allocations: 91.27 kB / 0.9793 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8628, allocations: 0 / 0.9793 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002514/0.863, allocations: 15.94 kB / 0.9793 GB, free: 14.22 MB / 0.7169 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.0005301/0.8636, allocations: 0.6851 MB / 0.98 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.8637, allocations: 19.97 kB / 0.98 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8637, allocations: 0 / 0.98 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.8637, allocations: 11.97 kB / 0.98 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.864, allocations: 14.12 kB / 0.98 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.8645, allocations: 160.6 kB / 0.9801 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.8648, allocations: 0.6729 MB / 0.9808 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.8649, allocations: 16.36 kB / 0.9808 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.8649, allocations: 11.44 kB / 0.9808 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8649, allocations: 0 / 0.9808 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.883, allocations: 1.668 MB / 0.9825 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/9.124, allocations: 1.25 kB / 0.9825 GB, free: 11.04 MB / 0.7169 GB " [Timeout remaining time 651] (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: 13.375754382053856] Failed to read output from testmodel.py, exit status != 0: 9.248754094995093 9.270570204 8.409041356 Calling exit ...