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.001347/0.001347, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001728/0.001728, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.961 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.003803/0.003803, allocations: 290.4 kB / 312.7 MB, free: 2.875 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.246/1.246, 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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.002841/0.002841, allocations: 102.6 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2039, allocations: 95.39 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002872/0.2068, allocations: 1.311 MB / 0.834 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6661/0.8729, allocations: 150.9 MB / 0.9814 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.8729, allocations: 3.094 kB / 0.9814 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.8729, allocations: 1.719 kB / 0.9814 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.873, allocations: 7.453 kB / 0.9814 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.8735, allocations: 121.3 kB / 0.9815 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.8735, allocations: 22.95 kB / 0.9816 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.341e-05/0.8736, allocations: 5.578 kB / 0.9816 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.8736, allocations: 8.406 kB / 0.9816 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.8737, allocations: 4.406 kB / 0.9816 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.8737, allocations: 0.9688 kB / 0.9816 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.8741, allocations: 184 kB / 0.9818 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.8742, allocations: 1.703 kB / 0.9818 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.8742, allocations: 10.89 kB / 0.9818 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.8744, allocations: 116 kB / 0.9819 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8744, allocations: 0 / 0.9819 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8744, allocations: 0 / 0.9819 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.8744, allocations: 2 kB / 0.9819 GB, free: 3.586 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.0004073/0.8748, allocations: 279.2 kB / 0.9822 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8749, allocations: 11.09 kB / 0.9822 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.8749, allocations: 32.2 kB / 0.9822 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005679/0.8755, allocations: 45.2 kB / 0.9822 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8756, allocations: 112.3 kB / 0.9823 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8756, allocations: 1.422 kB / 0.9823 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.8756, allocations: 4.719 kB / 0.9824 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.8758, allocations: 49.11 kB / 0.9824 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.8758, allocations: 0.5 kB / 0.9824 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.8758, allocations: 1.281 kB / 0.9824 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.8758, allocations: 1.906 kB / 0.9824 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.8759, allocations: 20.66 kB / 0.9824 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.8763, allocations: 223.4 kB / 0.9826 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.8763, allocations: 25.31 kB / 0.9827 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.8763, allocations: 11.58 kB / 0.9827 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.8764, allocations: 1.578 kB / 0.9827 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.8764, allocations: 35.75 kB / 0.9827 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.8764, allocations: 3.766 kB / 0.9827 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001486/0.8765, allocations: 41.11 kB / 0.9827 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.8766, allocations: 52.31 kB / 0.9828 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.8767, allocations: 114.2 kB / 0.9829 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.8767, allocations: 28.89 kB / 0.9829 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.8768, allocations: 87.02 kB / 0.983 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.8768, allocations: 10.62 kB / 0.983 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.8768, allocations: 19.73 kB / 0.983 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.877, allocations: 317.1 kB / 0.9834 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.877, allocations: 17.52 kB / 0.9834 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.8771, allocations: 10.83 kB / 0.9834 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/0.8772, allocations: 22.64 kB / 0.9834 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.8772, allocations: 0.5625 kB / 0.9834 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002034/0.8774, allocations: 60.28 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8774, allocations: 6.594 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8774, allocations: 0.7969 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8774, allocations: 4 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.8775, allocations: 10.45 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.8775, allocations: 0 / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.8777, allocations: 10.58 kB / 0.9835 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.8777, allocations: 1.625 kB / 0.9835 GB, free: 18.12 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.966e-05/0.8778, allocations: 118.4 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.8778, allocations: 5.484 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.8778, allocations: 6.375 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8778, allocations: 0.75 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.8778, allocations: 0.8438 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8778, allocations: 0.8125 kB / 0.9836 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.878, allocations: 128.6 kB / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.878, allocations: 0.625 kB / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.878, allocations: 5.484 kB / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.878, allocations: 0 / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.878, allocations: 1.812 kB / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.878, allocations: 4.094 kB / 0.9837 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.878, allocations: 0.8438 kB / 0.9838 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.8781, allocations: 140.2 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.8781, allocations: 4.828 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.8781, allocations: 1 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.74e-05/0.8782, allocations: 4.266 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.8782, allocations: 1.422 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.8782, allocations: 1.344 kB / 0.9839 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.287e-05/0.8783, allocations: 92.98 kB / 0.984 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8783, allocations: 0.8125 kB / 0.984 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002408/0.8786, allocations: 24.84 kB / 0.984 GB, free: 17.63 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.0004776/0.8791, allocations: 0.6762 MB / 0.9847 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.8792, allocations: 23.81 kB / 0.9847 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8792, allocations: 1.781 kB / 0.9847 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.8792, allocations: 3.672 kB / 0.9847 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.8795, allocations: 16.16 kB / 0.9847 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.8799, allocations: 157.6 kB / 0.9849 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.8802, allocations: 0.6779 MB / 0.9855 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.8803, allocations: 11.31 kB / 0.9855 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.8803, allocations: 11.12 kB / 0.9855 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8803, allocations: 2.812 kB / 0.9855 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.9087, allocations: 1.714 MB / 0.9872 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.65, allocations: 6.031 kB / 0.9872 GB, free: 15.75 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: 15.911448813974857] Failed to read output from testmodel.py, exit status != 0: 11.752693600021303 11.775991435 10.897222759 Calling exit ...