Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00229/0.00229, allocations: 291.6 kB / 303.6 MB, free: 3.668 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9838/0.9838, allocations: 180.9 MB / 0.5268 GB, free: 2.73 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 99.84 kB / 0.7259 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4917, allocations: 94.15 MB / 0.8179 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002017/0.4937, allocations: 1.271 MB / 0.8191 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000475/0.4942, allocations: 290.6 kB / 0.8194 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.4942, allocations: 4.969 kB / 0.8194 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.4942, allocations: 0 / 0.8194 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.4943, allocations: 4.266 kB / 0.8194 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.4945, allocations: 50.67 kB / 0.8194 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.4946, allocations: 20.59 kB / 0.8195 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.4946, allocations: 6.625 kB / 0.8195 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.4947, allocations: 11.27 kB / 0.8195 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.4947, allocations: 2.844 kB / 0.8195 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.4947, allocations: 1.031 kB / 0.8195 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.4948, allocations: 58.42 kB / 0.8195 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4949, allocations: 4.641 kB / 0.8195 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.4949, allocations: 12.19 kB / 0.8195 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.495, allocations: 46.12 kB / 0.8196 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.495, allocations: 0 / 0.8196 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.495, allocations: 0 / 0.8196 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.495, allocations: 0 / 0.8196 GB, free: 6.281 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003066/0.4953, allocations: 342.5 kB / 0.8199 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.4954, allocations: 13.31 kB / 0.8199 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.4956, allocations: 15.02 kB / 0.8199 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.685e-05/0.4956, allocations: 169.8 kB / 0.8201 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4957, allocations: 6.125 kB / 0.8201 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4957, allocations: 2.094 kB / 0.8201 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4958, allocations: 52.28 kB / 0.8202 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.4958, allocations: 192 / 0.8202 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4958, allocations: 5.312 kB / 0.8202 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.4958, allocations: 0 / 0.8202 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.451e-05/0.4958, allocations: 12.16 kB / 0.8202 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.4959, allocations: 154.5 kB / 0.8203 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4977, allocations: 268.8 kB / 0.8206 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.4977, allocations: 19.5 kB / 0.8206 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.4977, allocations: 3.938 kB / 0.8206 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.4977, allocations: 35.56 kB / 0.8206 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4977, allocations: 4.938 kB / 0.8206 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001566/0.4979, allocations: 63.89 kB / 0.8207 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.4979, allocations: 52.09 kB / 0.8208 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.785e-05/0.4979, allocations: 94.41 kB / 0.8208 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.498, allocations: 26.92 kB / 0.8209 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.198e-06/0.498, allocations: 80.14 kB / 0.821 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.498, allocations: 18.09 kB / 0.821 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.498, allocations: 16.91 kB / 0.821 GB, free: 5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.4981, allocations: 319.1 kB / 0.8213 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.4981, allocations: 8.25 kB / 0.8213 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.4981, allocations: 8.719 kB / 0.8213 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.4981, allocations: 26.84 kB / 0.8213 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4981, allocations: 1.5 kB / 0.8213 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.71e-05/0.4982, allocations: 51.12 kB / 0.8214 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4982, allocations: 7.625 kB / 0.8214 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4982, allocations: 7.938 kB / 0.8214 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4982, allocations: 1.281 kB / 0.8214 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.4983, allocations: 5.078 kB / 0.8214 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4983, allocations: 5.531 kB / 0.8214 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.4983, allocations: 11.83 kB / 0.8214 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4983, allocations: 1.156 kB / 0.8214 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 (4): * Single equations (assignments): 4 * 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 4.476e-05/0.4984, allocations: 115.1 kB / 0.8215 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.4984, allocations: 0.7812 kB / 0.8215 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.4984, allocations: 16.39 kB / 0.8215 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4984, allocations: 4 kB / 0.8215 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4984, allocations: 0.9375 kB / 0.8215 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4984, allocations: 0 / 0.8215 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.794e-05/0.4985, allocations: 155.4 kB / 0.8217 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4985, allocations: 0 / 0.8217 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.4985, allocations: 5.375 kB / 0.8217 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4985, allocations: 0 / 0.8217 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4985, allocations: 5.531 kB / 0.8217 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4985, allocations: 3.188 kB / 0.8217 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4985, allocations: 0 / 0.8217 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.4986, allocations: 86.22 kB / 0.8218 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.4987, allocations: 78.52 kB / 0.8219 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.4987, allocations: 4.641 kB / 0.8219 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.4987, allocations: 2.203 kB / 0.8219 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.4988, allocations: 1.672 kB / 0.8219 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4988, allocations: 2 kB / 0.8219 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.475e-05/0.4988, allocations: 76.5 kB / 0.822 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4988, allocations: 4.094 kB / 0.822 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001753/0.499, allocations: 15.34 kB / 0.822 GB, free: 4 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 (4): * Single equations (assignments): 4 * 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 7.996e-05/0.499, allocations: 96.86 kB / 0.8221 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.941e-05/0.4991, allocations: 21.86 kB / 0.8221 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4991, allocations: 0 / 0.8221 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.4992, allocations: 18.39 kB / 0.8221 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4994, allocations: 17.05 kB / 0.8221 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.4997, allocations: 160.3 kB / 0.8223 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.164e-05/0.4998, allocations: 0.6729 MB / 0.8229 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.4998, allocations: 10.06 kB / 0.8229 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.4998, allocations: 0 / 0.8229 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of Templates: time 0.001973/0.5018, allocations: 0.5414 MB / 0.8235 GB, free: 3 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.651611994020641] Failed to read output from testmodel.py, exit status != 0: 0.5087604520376772 0.520143949 0.022151755000000002 Calling exit ...