Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001221/0.001221, allocations: 113.8 kB / 17.13 MB, free: 5.938 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.001196/0.001196, allocations: 197.2 kB / 20.08 MB, free: 3 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.394/1.394, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.002259/0.002259, allocations: 292.5 kB / 303.6 MB, free: 3.68 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 1.011/1.011, allocations: 180.9 MB / 0.5268 GB, free: 2.691 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.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 99.84 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5094, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002268/0.5116, allocations: 1.516 MB / 0.8193 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002706/0.5119, allocations: 129.2 kB / 0.8194 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.5119, allocations: 1.156 kB / 0.8194 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.512, allocations: 7.219 kB / 0.8195 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.512, allocations: 4.625 kB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.5123, allocations: 81.61 kB / 0.8195 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.5124, allocations: 54.3 kB / 0.8196 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.5125, allocations: 12.55 kB / 0.8196 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.5126, allocations: 33.66 kB / 0.8196 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.5126, allocations: 21 kB / 0.8197 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.5127, allocations: 6.188 kB / 0.8197 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.5127, allocations: 4.906 kB / 0.8197 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.5127, allocations: 13.89 kB / 0.8197 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.5127, allocations: 28.45 kB / 0.8197 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.78e-05/0.5128, allocations: 57.88 kB / 0.8198 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5128, allocations: 4 kB / 0.8198 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5128, allocations: 0 / 0.8198 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.5128, allocations: 0 / 0.8198 GB, free: 6.133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004237/0.5133, allocations: 372.1 kB / 0.8201 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.5133, allocations: 9.406 kB / 0.8201 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.5133, allocations: 8.578 kB / 0.8201 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.107e-05/0.5134, allocations: 177.9 kB / 0.8203 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.5135, allocations: 29.7 kB / 0.8203 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5135, allocations: 7 kB / 0.8203 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5137, allocations: 75.17 kB / 0.8204 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5137, allocations: 3.938 kB / 0.8204 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5137, allocations: 1.188 kB / 0.8204 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5137, allocations: 1.406 kB / 0.8204 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.5139, allocations: 46.66 kB / 0.8205 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.5144, allocations: 318.6 kB / 0.8208 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5145, allocations: 47.69 kB / 0.8208 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.5146, allocations: 34.41 kB / 0.8208 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.5146, allocations: 0 / 0.8208 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.5146, allocations: 39.78 kB / 0.8209 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.5146, allocations: 1.375 kB / 0.8209 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003444/0.515, allocations: 92.78 kB / 0.821 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.515, allocations: 52.59 kB / 0.821 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.5151, allocations: 115.9 kB / 0.8211 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.5151, allocations: 29.7 kB / 0.8212 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.5151, allocations: 92.55 kB / 0.8212 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.5151, allocations: 14.36 kB / 0.8213 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.5151, allocations: 17.73 kB / 0.8213 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.944e-05/0.5152, allocations: 324 kB / 0.8216 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.5153, allocations: 19.27 kB / 0.8216 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.5154, allocations: 42.91 kB / 0.8216 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5155, allocations: 56.39 kB / 0.8217 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5155, allocations: 0 / 0.8217 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002002/0.5157, allocations: 87.28 kB / 0.8218 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5157, allocations: 5.344 kB / 0.8218 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5157, allocations: 1.141 kB / 0.8218 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5157, allocations: 8.859 kB / 0.8218 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.5158, allocations: 13.11 kB / 0.8218 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5158, allocations: 1.062 kB / 0.8218 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.5159, allocations: 11.05 kB / 0.8218 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5159, allocations: 1.5 kB / 0.8218 GB, free: 4.258 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.632e-05/0.516, allocations: 112.5 kB / 0.8219 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.516, allocations: 6.969 kB / 0.8219 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.516, allocations: 16.5 kB / 0.822 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.516, allocations: 0 / 0.822 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.516, allocations: 0 / 0.822 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.516, allocations: 1.531 kB / 0.822 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.5161, allocations: 180.2 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5161, allocations: 4.203 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.5162, allocations: 8.094 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5162, allocations: 4.453 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5162, allocations: 0 / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5162, allocations: 0.875 kB / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5162, allocations: 0 / 0.8221 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.5164, allocations: 183.8 kB / 0.8223 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.5164, allocations: 86.34 kB / 0.8224 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.5164, allocations: 1.219 kB / 0.8224 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.5166, allocations: 8.969 kB / 0.8224 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.5166, allocations: 2.969 kB / 0.8224 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.5166, allocations: 16.83 kB / 0.8224 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.5166, allocations: 86.03 kB / 0.8225 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5166, allocations: 0 / 0.8225 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002133/0.5169, allocations: 7.875 kB / 0.8225 GB, free: 3.57 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 8.97e-05/0.5169, allocations: 103.6 kB / 0.8226 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.5172, allocations: 47.84 kB / 0.8227 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5172, allocations: 8 kB / 0.8227 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.5173, allocations: 30.56 kB / 0.8227 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.5175, allocations: 11.59 kB / 0.8227 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.5178, allocations: 157.1 kB / 0.8229 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.862e-05/0.5179, allocations: 0.6839 MB / 0.8235 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.5179, allocations: 9.812 kB / 0.8235 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5179, allocations: 4 kB / 0.8235 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.002435/0.5204, allocations: 0.8483 MB / 0.8244 GB, free: 2.531 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.997199598001316] Failed to read output from testmodel.py, exit status != 0: 0.5273935250006616 0.539490334 0.023519971 Calling exit ...