Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.System4.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.001817/0.001817, 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.002462/0.002462, allocations: 205.5 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.267/3.267, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.CDL.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.System4") translateModel(Buildings.Examples.Tutorial.CDL.System4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T|conBoiRet.yVal|conEquSta.onBoi",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.System4") [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.002109/0.002109, allocations: 66.55 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4642, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System4): time 1.518/1.982, allocations: 477.6 MB / 1.793 GB, free: 6.457 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1169/2.099, allocations: 68.24 MB / 1.86 GB, free: 15.84 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02027/2.12, allocations: 0.5927 MB / 1.861 GB, free: 15.24 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.02129/2.141, allocations: 5.845 MB / 1.866 GB, free: 9.363 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.05431/2.195, allocations: 14.98 MB / 1.881 GB, free: 10.34 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.03012/2.225, allocations: 10.65 MB / 1.891 GB, free: 15.76 MB / 1.389 GB Notification: Performance of NFFlatten.flatten: time 0.06137/2.287, allocations: 38.67 MB / 1.929 GB, free: 8.984 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02139/2.308, allocations: 9.542 MB / 1.939 GB, free: 15.3 MB / 1.436 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03734/2.345, allocations: 14.08 MB / 1.952 GB, free: 1.211 MB / 1.436 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02065/2.366, allocations: 9.609 MB / 1.962 GB, free: 7.559 MB / 1.451 GB Notification: Performance of NFPackage.collectConstants: time 0.005777/2.372, allocations: 1.203 MB / 1.963 GB, free: 6.355 MB / 1.451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/2.392, allocations: 5.866 MB / 1.969 GB, free: 496 kB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.007391/2.399, allocations: 3.717 MB / 1.972 GB, free: 12.75 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.01537/2.415, allocations: 5.794 MB / 1.978 GB, free: 6.934 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.04694/2.462, allocations: 21.12 MB / 1.998 GB, free: 1.738 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/2.462, allocations: 0 / 1.998 GB, free: 1.738 MB / 1.482 GB Notification: Performance of FrontEnd: time 4.278e-06/2.462, allocations: 4 kB / 1.998 GB, free: 1.734 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001019/2.463, allocations: 0 / 1.998 GB, free: 1.734 MB / 1.482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.06175/2.524, allocations: 15.24 MB / 2.013 GB, free: 2.328 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 8.443e-05/2.524, allocations: 8.031 kB / 2.013 GB, free: 2.32 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02663/2.551, allocations: 2.392 MB / 2.016 GB, free: 15.92 MB / 1.514 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05732/2.608, allocations: 12.29 MB / 2.028 GB, free: 3.492 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/2.609, allocations: 0.5689 MB / 2.028 GB, free: 2.922 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004146/2.614, allocations: 0.7578 MB / 2.029 GB, free: 2.164 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03971/2.653, allocations: 10.34 MB / 2.039 GB, free: 7.121 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003397/2.654, allocations: 27.83 kB / 2.039 GB, free: 7.094 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002605/2.656, allocations: 308 kB / 2.039 GB, free: 6.793 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004717/2.657, allocations: 285.9 kB / 2.04 GB, free: 6.512 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/2.683, allocations: 7.061 MB / 2.047 GB, free: 15.44 MB / 1.545 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.07227/2.755, allocations: 28.82 MB / 2.075 GB, free: 2.102 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008756/2.764, allocations: 3.942 MB / 2.079 GB, free: 14.19 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/2.768, allocations: 2.226 MB / 2.081 GB, free: 11.96 MB / 1.576 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.02591/2.794, allocations: 7.37 MB / 2.088 GB, free: 4.559 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00713/2.801, allocations: 4.045 MB / 2.092 GB, free: 116 kB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003835/2.805, allocations: 373.3 kB / 2.092 GB, free: 15.74 MB / 1.592 GB Notification: Performance of pre-optimization done (n=405): time 1.755e-05/2.805, allocations: 4 kB / 2.092 GB, free: 15.74 MB / 1.592 GB Notification: Performance of matching and sorting (n=412): time 0.0477/2.853, allocations: 14.62 MB / 2.107 GB, free: 1.016 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/2.853, allocations: 278.5 kB / 2.107 GB, free: 0.6875 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01855/2.872, allocations: 9.47 MB / 2.116 GB, free: 7.281 MB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.001325/2.873, allocations: 129.7 kB / 2.116 GB, free: 7.148 MB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.007028/2.88, allocations: 5.442 MB / 2.122 GB, free: 1.68 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/2.883, allocations: 1.495 MB / 2.123 GB, free: 176 kB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003362/2.886, allocations: 1.361 MB / 2.124 GB, free: 14.79 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 0.0001318/2.886, allocations: 301.1 kB / 2.125 GB, free: 14.5 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006183/2.892, allocations: 2.574 MB / 2.127 GB, free: 11.91 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009162/2.901, allocations: 5.712 MB / 2.133 GB, free: 5.137 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.915, allocations: 6.457 MB / 2.139 GB, free: 14.04 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-05/2.915, allocations: 12 kB / 2.139 GB, free: 14.03 MB / 1.639 GB Notification: Performance of matching and sorting (n=844) (initialization): time 0.02657/2.942, allocations: 8.888 MB / 2.148 GB, free: 5.027 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/2.942, allocations: 24 kB / 2.148 GB, free: 5.004 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.409e-05/2.942, allocations: 40 kB / 2.148 GB, free: 4.965 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/2.953, allocations: 1.784 MB / 2.149 GB, free: 3.164 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006369/2.959, allocations: 1.307 MB / 2.151 GB, free: 1.855 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/2.971, allocations: 7.878 MB / 2.158 GB, free: 9.594 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009372/2.98, allocations: 428.5 kB / 2.159 GB, free: 9.176 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/2.982, allocations: 291.9 kB / 2.159 GB, free: 8.891 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01093/2.993, allocations: 4.604 MB / 2.164 GB, free: 4.277 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008115/3.001, allocations: 5.626 MB / 2.169 GB, free: 13.6 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01173/3.013, allocations: 6.275 MB / 2.175 GB, free: 6.746 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.736e-05/3.013, allocations: 15.98 kB / 2.175 GB, free: 6.73 MB / 1.67 GB Notification: Performance of matching and sorting (n=844) (initialization_lambda0): time 0.0259/3.039, allocations: 8.85 MB / 2.184 GB, free: 13.86 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/3.039, allocations: 20 kB / 2.184 GB, free: 13.84 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.528e-05/3.039, allocations: 44 kB / 2.184 GB, free: 13.79 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009459/3.048, allocations: 1.569 MB / 2.185 GB, free: 12.21 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006/3.054, allocations: 1.275 MB / 2.187 GB, free: 10.93 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01526/3.069, allocations: 9.73 MB / 2.196 GB, free: 0.7578 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009966/3.079, allocations: 467.6 kB / 2.197 GB, free: 312 kB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/3.081, allocations: 275.9 kB / 2.197 GB, free: 36 kB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,conEquSta.hys.y,$PRE.conEquSta.hys.y,boiSigCon.u,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 713 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 2 systems {(2,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,7), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001837/3.083, allocations: 0.5487 MB / 2.197 GB, free: 15.47 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003584/3.086, allocations: 1.017 MB / 2.198 GB, free: 14.45 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/3.102, allocations: 6.207 MB / 2.205 GB, free: 8.184 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01118/3.113, allocations: 4.603 MB / 2.209 GB, free: 3.535 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/3.113, allocations: 0 / 2.209 GB, free: 3.535 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006659/3.119, allocations: 1.625 MB / 2.211 GB, free: 1.902 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003112/3.122, allocations: 95.98 kB / 2.211 GB, free: 1.809 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007467/3.13, allocations: 311.6 kB / 2.211 GB, free: 1.504 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/3.131, allocations: 350.9 kB / 2.211 GB, free: 1.16 MB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01565/3.147, allocations: 5.725 MB / 2.217 GB, free: 11.39 MB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0168/3.163, allocations: 7.911 MB / 2.225 GB, free: 3.438 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004014/3.167, allocations: 1.969 MB / 2.227 GB, free: 1.465 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01263/3.18, allocations: 6.208 MB / 2.233 GB, free: 11.3 MB / 1.732 GB Notification: Performance of Backend: time 6.81e-07/3.18, allocations: 0 / 2.233 GB, free: 11.3 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.03832/3.218, allocations: 11.64 MB / 2.244 GB, free: 15.9 MB / 1.748 GB Notification: Performance of SimCode: time 0.05531/3.274, allocations: 24.07 MB / 2.268 GB, free: 7.91 MB / 1.764 GB Notification: Performance of Templates: time 1.789/5.063, allocations: 246.3 MB / 2.508 GB, free: 0.503 GB / 1.764 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.System4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.System4.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.System4.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.System4.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.System4.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.System4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.System4.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 24.6350142759984] Failed to read output from testmodel.py, exit status != 0: 5.07354580899846 5.087252746 2.621659148 Calling exit ...