Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.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.001255/0.001255, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.00154/0.00154, allocations: 211.9 kB / 23 MB, free: 4.965 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.316/3.316, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemHXOut.T|senTemSupAir.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T|senTemHXOut.T|senTemSupAir.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3") [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.003118/0.003118, allocations: 71.14 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4065, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 1.345/1.752, allocations: 321.1 MB / 1.641 GB, free: 12.57 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.06678/1.819, allocations: 38.56 MB / 1.678 GB, free: 12.24 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009983/1.829, allocations: 229.9 kB / 1.679 GB, free: 12.24 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01189/1.84, allocations: 3.626 MB / 1.682 GB, free: 12.17 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0303/1.871, allocations: 9.458 MB / 1.691 GB, free: 11.8 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01656/1.887, allocations: 5.618 MB / 1.697 GB, free: 11.64 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.02517/1.913, allocations: 15.99 MB / 1.712 GB, free: 11.56 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/1.925, allocations: 4.296 MB / 1.717 GB, free: 11.17 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02095/1.946, allocations: 7.244 MB / 1.724 GB, free: 10.25 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/1.957, allocations: 4.355 MB / 1.728 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003459/1.961, allocations: 0.6542 MB / 1.729 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02262/1.983, allocations: 7.541 MB / 1.736 GB, free: 7.328 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004446/1.988, allocations: 2.076 MB / 1.738 GB, free: 6.27 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.009461/1.997, allocations: 2.887 MB / 1.741 GB, free: 4.781 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03268/2.03, allocations: 12.49 MB / 1.753 GB, free: 14.99 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/2.03, allocations: 0 / 1.753 GB, free: 14.99 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.815e-06/2.03, allocations: 0 / 1.753 GB, free: 14.99 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0004644/2.03, allocations: 0 / 1.753 GB, free: 14.99 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: 1049 * Number of variables: 1049 Notification: Performance of Generate backend data structure: time 0.02905/2.059, allocations: 7.644 MB / 1.76 GB, free: 9.664 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/2.059, allocations: 8.156 kB / 1.76 GB, free: 9.664 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/2.087, allocations: 3.456 MB / 1.764 GB, free: 8.172 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/2.104, allocations: 5.287 MB / 1.769 GB, free: 4.641 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/2.105, allocations: 380.2 kB / 1.769 GB, free: 4.434 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/2.107, allocations: 426.7 kB / 1.77 GB, free: 4.297 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/2.128, allocations: 6.529 MB / 1.776 GB, free: 15.96 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000115/2.128, allocations: 5.781 kB / 1.776 GB, free: 15.96 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000949/2.129, allocations: 167.9 kB / 1.776 GB, free: 15.83 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/2.129, allocations: 164.9 kB / 1.776 GB, free: 15.81 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/2.15, allocations: 6.318 MB / 1.783 GB, free: 12.71 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.05183/2.202, allocations: 16.3 MB / 1.799 GB, free: 15.6 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/2.215, allocations: 4.018 MB / 1.802 GB, free: 11.6 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007809/2.222, allocations: 2.408 MB / 1.805 GB, free: 9.18 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.02033/2.243, allocations: 6.071 MB / 1.811 GB, free: 3.156 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009082/2.252, allocations: 3.459 MB / 1.814 GB, free: 15.5 MB / 1.357 GB Notification: Performance of pre-optimization done (n=323): time 8.255e-06/2.252, allocations: 0 / 1.814 GB, free: 15.5 MB / 1.357 GB Notification: Performance of matching and sorting (n=329): time 0.05072/2.303, allocations: 13.51 MB / 1.827 GB, free: 1.902 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/2.303, allocations: 214.5 kB / 1.828 GB, free: 1.648 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007697/2.31, allocations: 3.876 MB / 1.831 GB, free: 13.77 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001198/2.312, allocations: 97.7 kB / 1.831 GB, free: 13.66 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.00285/2.314, allocations: 2.277 MB / 1.834 GB, free: 11.39 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002179/2.317, allocations: 1.166 MB / 1.835 GB, free: 10.23 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/2.319, allocations: 0.8395 MB / 1.836 GB, free: 9.387 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001332/2.319, allocations: 301.1 kB / 1.836 GB, free: 9.09 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007575/2.326, allocations: 2.445 MB / 1.838 GB, free: 6.633 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009805/2.336, allocations: 3.851 MB / 1.842 GB, free: 2.379 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/2.353, allocations: 5.313 MB / 1.847 GB, free: 12.91 MB / 1.389 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/2.353, allocations: 8 kB / 1.847 GB, free: 12.91 MB / 1.389 GB Notification: Performance of matching and sorting (n=518) (initialization): time 0.02496/2.378, allocations: 6.711 MB / 1.854 GB, free: 6.242 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/2.378, allocations: 12 kB / 1.854 GB, free: 6.23 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/2.378, allocations: 12 kB / 1.854 GB, free: 6.219 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/2.381, allocations: 0.6483 MB / 1.854 GB, free: 5.555 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/2.389, allocations: 1.164 MB / 1.856 GB, free: 4.438 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/2.401, allocations: 9.306 MB / 1.865 GB, free: 10.7 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008527/2.409, allocations: 475.1 kB / 1.865 GB, free: 10.24 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/2.411, allocations: 179.9 kB / 1.865 GB, free: 10.06 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01093/2.421, allocations: 3.395 MB / 1.869 GB, free: 6.66 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009389/2.431, allocations: 3.84 MB / 1.872 GB, free: 2.406 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01846/2.449, allocations: 5.271 MB / 1.878 GB, free: 12.99 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.558e-05/2.449, allocations: 11.94 kB / 1.878 GB, free: 12.98 MB / 1.42 GB Notification: Performance of matching and sorting (n=518) (initialization_lambda0): time 0.02644/2.476, allocations: 6.643 MB / 1.884 GB, free: 6.375 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/2.476, allocations: 12 kB / 1.884 GB, free: 6.363 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/2.476, allocations: 12 kB / 1.884 GB, free: 6.352 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/2.479, allocations: 0.6411 MB / 1.885 GB, free: 5.699 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007787/2.487, allocations: 1.154 MB / 1.886 GB, free: 4.59 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/2.5, allocations: 10.25 MB / 1.896 GB, free: 9.84 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008649/2.509, allocations: 489.5 kB / 1.896 GB, free: 9.367 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/2.51, allocations: 176 kB / 1.896 GB, free: 9.195 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 22 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.flowRegime_nominal,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,con.y,$PRE.con.y,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 (450): * Single equations (assignments): 439 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 1 system {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): 6 systems {(1,2), (1,18), (1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002344/2.512, allocations: 409.9 kB / 1.897 GB, free: 8.836 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002553/2.515, allocations: 492.9 kB / 1.897 GB, free: 8.352 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/2.538, allocations: 5.981 MB / 1.903 GB, free: 2.32 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01871/2.557, allocations: 4.912 MB / 1.908 GB, free: 13.37 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/2.557, allocations: 0 / 1.908 GB, free: 13.37 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005069/2.562, allocations: 1.042 MB / 1.909 GB, free: 12.32 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002558/2.564, allocations: 67.95 kB / 1.909 GB, free: 12.26 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/2.572, allocations: 455.9 kB / 1.909 GB, free: 11.81 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/2.573, allocations: 242.3 kB / 1.91 GB, free: 11.57 MB / 1.451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02498/2.598, allocations: 5.746 MB / 1.915 GB, free: 5.836 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02888/2.627, allocations: 8.158 MB / 1.923 GB, free: 13.62 MB / 1.467 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007732/2.635, allocations: 2.303 MB / 1.925 GB, free: 11.31 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.006758/2.641, allocations: 2.562 MB / 1.928 GB, free: 8.75 MB / 1.467 GB Notification: Performance of Backend: time 1.092e-06/2.641, allocations: 2.625 kB / 1.928 GB, free: 8.75 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.04203/2.683, allocations: 9.937 MB / 1.938 GB, free: 15.29 MB / 1.482 GB Notification: Performance of SimCode: time 0.02961/2.713, allocations: 10.9 MB / 1.948 GB, free: 4.41 MB / 1.482 GB Notification: Performance of Templates: time 0.2762/2.989, allocations: 161.4 MB / 2.106 GB, free: 4.453 MB / 1.639 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.979155821994937] Failed to read output from testmodel.py, exit status != 0: 3.0016166400018847 3.015074807 0.981595707 Calling exit ...