Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.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.001944/0.001944, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002403/0.002403, allocations: 209.4 kB / 23 MB, free: 4.934 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemSupAir.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemSupAir.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2") [Timeout 300] "Notification: Buildings 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.002773/0.002773, allocations: 73.86 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3793, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 1.288/1.668, allocations: 321 MB / 1.641 GB, free: 12.52 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.05673/1.724, allocations: 38.54 MB / 1.678 GB, free: 12.19 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/1.735, allocations: 228.2 kB / 1.678 GB, free: 12.19 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/1.746, allocations: 3.618 MB / 1.682 GB, free: 12.12 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02938/1.776, allocations: 9.445 MB / 1.691 GB, free: 11.75 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01555/1.791, allocations: 5.614 MB / 1.697 GB, free: 11.6 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02298/1.814, allocations: 15.96 MB / 1.712 GB, free: 11.52 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007702/1.822, allocations: 4.271 MB / 1.716 GB, free: 11.13 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01628/1.838, allocations: 7.226 MB / 1.723 GB, free: 10.22 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009563/1.848, allocations: 4.319 MB / 1.728 GB, free: 8.68 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003017/1.851, allocations: 0.6534 MB / 1.728 GB, free: 8.68 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/1.869, allocations: 7.541 MB / 1.736 GB, free: 7.316 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003485/1.873, allocations: 2.066 MB / 1.738 GB, free: 6.266 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006386/1.879, allocations: 2.87 MB / 1.741 GB, free: 4.789 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/1.903, allocations: 12.45 MB / 1.753 GB, free: 15.08 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.903, allocations: 0 / 1.753 GB, free: 15.08 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.843e-06/1.903, allocations: 0 / 1.753 GB, free: 15.08 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0003836/1.903, allocations: 0 / 1.753 GB, free: 15.08 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.02209/1.925, allocations: 7.597 MB / 1.76 GB, free: 9.789 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/1.925, allocations: 8.219 kB / 1.76 GB, free: 9.789 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02726/1.952, allocations: 3.448 MB / 1.763 GB, free: 8.301 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/1.967, allocations: 5.266 MB / 1.769 GB, free: 4.781 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004342/1.967, allocations: 382.7 kB / 1.769 GB, free: 4.57 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001431/1.969, allocations: 423.9 kB / 1.769 GB, free: 4.434 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/1.986, allocations: 6.486 MB / 1.776 GB, free: 108 kB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.986, allocations: 6.828 kB / 1.776 GB, free: 104 kB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007657/1.987, allocations: 174.4 kB / 1.776 GB, free: 0 / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/1.987, allocations: 160.1 kB / 1.776 GB, free: 15.98 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/2.006, allocations: 6.292 MB / 1.782 GB, free: 12.9 MB / 1.326 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04292/2.049, allocations: 16.3 MB / 1.798 GB, free: 15.94 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/2.06, allocations: 3.735 MB / 1.802 GB, free: 12.22 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007852/2.068, allocations: 2.296 MB / 1.804 GB, free: 9.914 MB / 1.342 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02022/2.088, allocations: 5.93 MB / 1.81 GB, free: 4.023 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008916/2.097, allocations: 3.325 MB / 1.813 GB, free: 0.5 MB / 1.342 GB Notification: Performance of pre-optimization done (n=311): time 9.457e-06/2.097, allocations: 0 / 1.813 GB, free: 0.5 MB / 1.342 GB Notification: Performance of matching and sorting (n=311): time 0.02963/2.127, allocations: 7.187 MB / 1.82 GB, free: 9.27 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/2.127, allocations: 240.1 kB / 1.82 GB, free: 8.984 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00853/2.135, allocations: 3.991 MB / 1.824 GB, free: 4.984 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/2.137, allocations: 95.03 kB / 1.824 GB, free: 4.887 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.003057/2.14, allocations: 2.284 MB / 1.826 GB, free: 2.602 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.002283/2.142, allocations: 1.11 MB / 1.828 GB, free: 1.508 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002117/2.144, allocations: 0.8332 MB / 1.828 GB, free: 0.668 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001292/2.144, allocations: 305.1 kB / 1.829 GB, free: 376 kB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007391/2.152, allocations: 2.398 MB / 1.831 GB, free: 13.97 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009714/2.161, allocations: 3.805 MB / 1.835 GB, free: 9.777 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/2.177, allocations: 5.127 MB / 1.84 GB, free: 4.504 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/2.177, allocations: 7.938 kB / 1.84 GB, free: 4.496 MB / 1.373 GB Notification: Performance of matching and sorting (n=507) (initialization): time 0.02263/2.199, allocations: 6.43 MB / 1.846 GB, free: 14.11 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/2.199, allocations: 8 kB / 1.846 GB, free: 14.1 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/2.2, allocations: 18.62 kB / 1.846 GB, free: 14.09 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/2.202, allocations: 431.5 kB / 1.846 GB, free: 13.65 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008093/2.21, allocations: 1.199 MB / 1.848 GB, free: 12.5 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/2.217, allocations: 5.395 MB / 1.853 GB, free: 6.828 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009013/2.226, allocations: 0.7105 MB / 1.854 GB, free: 6.117 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/2.227, allocations: 186.6 kB / 1.854 GB, free: 5.938 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01162/2.239, allocations: 3.346 MB / 1.857 GB, free: 2.586 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00961/2.248, allocations: 3.783 MB / 1.861 GB, free: 14.41 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01637/2.265, allocations: 5.095 MB / 1.866 GB, free: 9.168 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3e-05/2.265, allocations: 4 kB / 1.866 GB, free: 9.164 MB / 1.404 GB Notification: Performance of matching and sorting (n=507) (initialization_lambda0): time 0.02488/2.29, allocations: 6.37 MB / 1.872 GB, free: 2.832 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/2.29, allocations: 12 kB / 1.872 GB, free: 2.82 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/2.29, allocations: 12 kB / 1.872 GB, free: 2.809 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/2.292, allocations: 415.2 kB / 1.872 GB, free: 2.395 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008028/2.3, allocations: 1.174 MB / 1.873 GB, free: 1.266 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007645/2.307, allocations: 5.754 MB / 1.879 GB, free: 11.19 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009195/2.317, allocations: 0.683 MB / 1.88 GB, free: 10.51 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/2.318, allocations: 179.9 kB / 1.88 GB, free: 10.33 MB / 1.42 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.flowRegime_nominal,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 449 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002511/2.321, allocations: 402.6 kB / 1.88 GB, free: 9.98 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002533/2.323, allocations: 492.8 kB / 1.881 GB, free: 9.496 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/2.343, allocations: 5.696 MB / 1.886 GB, free: 3.75 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01605/2.359, allocations: 4.556 MB / 1.891 GB, free: 15.14 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/2.359, allocations: 0 / 1.891 GB, free: 15.14 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004975/2.364, allocations: 1.068 MB / 1.892 GB, free: 14.07 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.366, allocations: 60 kB / 1.892 GB, free: 14.02 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007198/2.374, allocations: 425.5 kB / 1.892 GB, free: 13.6 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008333/2.374, allocations: 218.2 kB / 1.893 GB, free: 13.39 MB / 1.436 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02142/2.396, allocations: 5.318 MB / 1.898 GB, free: 8.07 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02376/2.42, allocations: 7.641 MB / 1.905 GB, free: 376 kB / 1.436 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006821/2.426, allocations: 2.128 MB / 1.907 GB, free: 14.23 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.006162/2.433, allocations: 2.664 MB / 1.91 GB, free: 11.57 MB / 1.451 GB Notification: Performance of Backend: time 5.01e-07/2.433, allocations: 0 / 1.91 GB, free: 11.57 MB / 1.451 GB Notification: Performance of simCode: created initialization part: time 0.03482/2.467, allocations: 9.199 MB / 1.919 GB, free: 2.895 MB / 1.451 GB Notification: Performance of SimCode: time 0.02548/2.493, allocations: 10.79 MB / 1.929 GB, free: 8.133 MB / 1.467 GB Notification: Performance of Templates: time 0.2611/2.754, allocations: 157.8 MB / 2.084 GB, free: 11.75 MB / 1.623 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.57092671200371] Failed to read output from testmodel.py, exit status != 0: 2.76573207200272 2.779758252 0.8735211509999999 Calling exit ...