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.0007804/0.0007804, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007474/0.0007474, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001459/0.001459, allocations: 233.2 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6499/0.6499, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.352e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001758/0.001781, allocations: 1.314 MB / 0.6476 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3302/0.332, allocations: 129.7 MB / 0.7742 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.332, allocations: 0 / 0.7742 GB, free: 8.168 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/0.332, allocations: 7.938 kB / 0.7742 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.3321, allocations: 7.938 kB / 0.7742 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.3325, allocations: 115.4 kB / 0.7743 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.3326, allocations: 27.81 kB / 0.7743 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.3326, allocations: 0 / 0.7743 GB, free: 8.012 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.3326, allocations: 7.984 kB / 0.7743 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.3327, allocations: 7.938 kB / 0.7744 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3327, allocations: 4 kB / 0.7744 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.333, allocations: 171.6 kB / 0.7745 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.333, allocations: 4 kB / 0.7745 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.333, allocations: 7.938 kB / 0.7745 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3332, allocations: 119.7 kB / 0.7746 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3332, allocations: 0 / 0.7746 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3332, allocations: 4 kB / 0.7747 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3332, allocations: 0 / 0.7747 GB, free: 7.691 MB / 0.6042 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.0002762/0.3335, allocations: 285.1 kB / 0.7749 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3335, allocations: 9.938 kB / 0.7749 GB, free: 7.379 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.3336, allocations: 32.12 kB / 0.775 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.3339, allocations: 40.89 kB / 0.775 GB, free: 7.301 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.334, allocations: 103.2 kB / 0.7751 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.334, allocations: 12.31 kB / 0.7751 GB, free: 7.164 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.334, allocations: 4.125 kB / 0.7751 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3341, allocations: 45.66 kB / 0.7752 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3341, allocations: 4.656 kB / 0.7752 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3341, allocations: 3.984 kB / 0.7752 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3341, allocations: 0 / 0.7752 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.679e-05/0.3342, allocations: 23.97 kB / 0.7752 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.3345, allocations: 223.9 kB / 0.7754 GB, free: 6.816 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.574e-05/0.3345, allocations: 26.52 kB / 0.7754 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.3345, allocations: 8.922 kB / 0.7754 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3346, allocations: 4.656 kB / 0.7754 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.3346, allocations: 30.56 kB / 0.7755 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3346, allocations: 0 / 0.7755 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.3347, allocations: 50.16 kB / 0.7755 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3347, allocations: 51.41 kB / 0.7756 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.3348, allocations: 113.8 kB / 0.7757 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.3348, allocations: 25.7 kB / 0.7757 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.3349, allocations: 87.98 kB / 0.7758 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.3349, allocations: 3.953 kB / 0.7758 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3349, allocations: 25.81 kB / 0.7758 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.335, allocations: 322.8 kB / 0.7761 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.421e-05/0.335, allocations: 10.23 kB / 0.7761 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.335, allocations: 8 kB / 0.7761 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.3351, allocations: 20.84 kB / 0.7762 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3351, allocations: 0 / 0.7762 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001052/0.3352, allocations: 65.66 kB / 0.7762 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.3352, allocations: 4 kB / 0.7762 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3352, allocations: 0 / 0.7762 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3352, allocations: 0 / 0.7762 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.3353, allocations: 15.92 kB / 0.7762 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3353, allocations: 3.938 kB / 0.7762 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.3354, allocations: 7.953 kB / 0.7763 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3354, allocations: 7.984 kB / 0.7763 GB, free: 5.863 MB / 0.6042 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 5.566e-05/0.3354, allocations: 118.4 kB / 0.7764 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3354, allocations: 0 / 0.7764 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.3354, allocations: 7.312 kB / 0.7764 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3355, allocations: 0 / 0.7764 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3355, allocations: 0 / 0.7764 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3355, allocations: 0 / 0.7764 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.523e-05/0.3356, allocations: 132.7 kB / 0.7765 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3356, allocations: 0 / 0.7765 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.3356, allocations: 5.125 kB / 0.7765 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3356, allocations: 0 / 0.7765 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.3356, allocations: 0 / 0.7765 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3356, allocations: 4 kB / 0.7765 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3356, allocations: 0 / 0.7765 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.3357, allocations: 143.4 kB / 0.7767 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.3357, allocations: 336 / 0.7767 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3357, allocations: 0 / 0.7767 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.3357, allocations: 4 kB / 0.7767 GB, free: 5.391 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.3357, allocations: 7.109 kB / 0.7767 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.3357, allocations: 0 / 0.7767 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.3358, allocations: 95.25 kB / 0.7768 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.3358, allocations: 4.031 kB / 0.7768 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001649/0.336, allocations: 15.94 kB / 0.7768 GB, free: 5.273 MB / 0.6042 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.0003307/0.3363, allocations: 0.6811 MB / 0.7774 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.3364, allocations: 23.92 kB / 0.7775 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3364, allocations: 0 / 0.7775 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/0.3364, allocations: 10.61 kB / 0.7775 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3366, allocations: 12.72 kB / 0.7775 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.337, allocations: 147.7 kB / 0.7776 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.337, allocations: 63.3 kB / 0.7777 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.3371, allocations: 7.938 kB / 0.7777 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.3371, allocations: 16.48 kB / 0.7777 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.3371, allocations: 0 / 0.7777 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.3519, allocations: 2.294 MB / 0.7799 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.344/6.696, allocations: 6.516 kB / 0.78 GB, free: 2.156 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.170597318559885] Failed to read output from testmodel.py, exit status != 0: 6.773190267384052 6.782078366 6.446983557 Calling exit ...