Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.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.001866/0.001866, allocations: 95.92 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.001843/0.001843, allocations: 212 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.348/3.348, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.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.002033/0.002033, allocations: 66.97 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.435, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.706/2.141, allocations: 477 MB / 1.793 GB, free: 6.621 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1345/2.276, allocations: 67.98 MB / 1.859 GB, free: 0.5273 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02326/2.299, allocations: 0.5889 MB / 1.86 GB, free: 15.93 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.02347/2.323, allocations: 5.808 MB / 1.866 GB, free: 10.09 MB / 1.357 GB Notification: Performance of NFTyping.typeBindings: time 0.05982/2.382, allocations: 14.93 MB / 1.88 GB, free: 11.11 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.03155/2.414, allocations: 10.57 MB / 1.89 GB, free: 0.6289 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.06474/2.479, allocations: 38.38 MB / 1.928 GB, free: 10.15 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02019/2.499, allocations: 9.358 MB / 1.937 GB, free: 0.6523 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03745/2.536, allocations: 13.99 MB / 1.951 GB, free: 2.668 MB / 1.436 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02089/2.557, allocations: 9.508 MB / 1.96 GB, free: 9.121 MB / 1.451 GB Notification: Performance of NFPackage.collectConstants: time 0.005483/2.563, allocations: 1.176 MB / 1.961 GB, free: 7.945 MB / 1.451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02441/2.587, allocations: 5.823 MB / 1.967 GB, free: 2.113 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.00955/2.597, allocations: 3.647 MB / 1.97 GB, free: 14.45 MB / 1.467 GB Notification: Performance of NFVerifyModel.verify: time 0.022/2.619, allocations: 5.704 MB / 1.976 GB, free: 8.723 MB / 1.467 GB Notification: Performance of NFConvertDAE.convert: time 0.05431/2.673, allocations: 20.73 MB / 1.996 GB, free: 3.918 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/2.673, allocations: 4 kB / 1.996 GB, free: 3.914 MB / 1.482 GB Notification: Performance of FrontEnd: time 1.884e-06/2.673, allocations: 0 / 1.996 GB, free: 3.914 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.0008426/2.674, allocations: 0 / 1.996 GB, free: 3.914 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: 1820 * Number of variables: 1820 Notification: Performance of Generate backend data structure: time 0.04787/2.722, allocations: 14.32 MB / 2.01 GB, free: 5.449 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/2.722, allocations: 11.97 kB / 2.01 GB, free: 5.438 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/2.737, allocations: 2.369 MB / 2.013 GB, free: 3.059 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03641/2.773, allocations: 12.19 MB / 2.024 GB, free: 6.73 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007663/2.774, allocations: 0.549 MB / 2.025 GB, free: 6.18 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/2.777, allocations: 0.746 MB / 2.026 GB, free: 5.434 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/2.802, allocations: 10.13 MB / 2.036 GB, free: 10.61 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/2.803, allocations: 19.83 kB / 2.036 GB, free: 10.59 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009976/2.804, allocations: 308 kB / 2.036 GB, free: 10.29 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002998/2.804, allocations: 281.5 kB / 2.036 GB, free: 10.01 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/2.821, allocations: 6.911 MB / 2.043 GB, free: 3.082 MB / 1.529 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.07323/2.895, allocations: 28.31 MB / 2.071 GB, free: 6.254 MB / 1.561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009735/2.904, allocations: 3.921 MB / 2.074 GB, free: 2.359 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/2.909, allocations: 2.152 MB / 2.077 GB, free: 212 kB / 1.561 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.02721/2.936, allocations: 7.205 MB / 2.084 GB, free: 8.969 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006273/2.943, allocations: 3.964 MB / 2.087 GB, free: 4.602 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004103/2.947, allocations: 369.2 kB / 2.088 GB, free: 4.238 MB / 1.576 GB Notification: Performance of pre-optimization done (n=387): time 1.505e-05/2.947, allocations: 0 / 2.088 GB, free: 4.238 MB / 1.576 GB Notification: Performance of matching and sorting (n=394): time 0.04455/2.991, allocations: 14.17 MB / 2.102 GB, free: 5.945 MB / 1.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/2.991, allocations: 252.7 kB / 2.102 GB, free: 5.648 MB / 1.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0187/3.01, allocations: 9.374 MB / 2.111 GB, free: 12.33 MB / 1.607 GB Notification: Performance of collectPreVariables (initialization): time 0.001265/3.011, allocations: 125.7 kB / 2.111 GB, free: 12.2 MB / 1.607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006859/3.018, allocations: 5.341 MB / 2.116 GB, free: 6.836 MB / 1.607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/3.021, allocations: 1.441 MB / 2.118 GB, free: 5.383 MB / 1.607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00304/3.024, allocations: 1.329 MB / 2.119 GB, free: 4.043 MB / 1.607 GB Notification: Performance of setup shared object (initialization): time 0.0001441/3.024, allocations: 305.1 kB / 2.119 GB, free: 3.742 MB / 1.607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005702/3.03, allocations: 2.511 MB / 2.122 GB, free: 1.215 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0086/3.039, allocations: 5.536 MB / 2.127 GB, free: 10.66 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/3.051, allocations: 6.315 MB / 2.133 GB, free: 3.77 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.493e-05/3.051, allocations: 12 kB / 2.133 GB, free: 3.758 MB / 1.623 GB Notification: Performance of matching and sorting (n=825) (initialization): time 0.02458/3.075, allocations: 8.717 MB / 2.142 GB, free: 11.02 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/3.076, allocations: 23.94 kB / 2.142 GB, free: 11 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-05/3.076, allocations: 40 kB / 2.142 GB, free: 10.96 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009907/3.085, allocations: 1.764 MB / 2.144 GB, free: 9.176 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/3.092, allocations: 1.275 MB / 2.145 GB, free: 7.898 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/3.105, allocations: 7.96 MB / 2.153 GB, free: 15.55 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009529/3.115, allocations: 419.5 kB / 2.153 GB, free: 15.14 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/3.116, allocations: 284.2 kB / 2.153 GB, free: 14.87 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01157/3.128, allocations: 4.526 MB / 2.158 GB, free: 10.33 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008634/3.136, allocations: 5.455 MB / 2.163 GB, free: 3.855 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01251/3.149, allocations: 6.155 MB / 2.169 GB, free: 13.12 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.224e-05/3.149, allocations: 12 kB / 2.169 GB, free: 13.11 MB / 1.67 GB Notification: Performance of matching and sorting (n=825) (initialization_lambda0): time 0.02498/3.174, allocations: 8.402 MB / 2.177 GB, free: 4.676 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/3.174, allocations: 24 kB / 2.177 GB, free: 4.652 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.623e-05/3.174, allocations: 44 kB / 2.177 GB, free: 4.609 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009044/3.183, allocations: 1.577 MB / 2.179 GB, free: 3.016 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/3.189, allocations: 1.252 MB / 2.18 GB, free: 1.762 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/3.206, allocations: 9.871 MB / 2.19 GB, free: 7.453 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009375/3.215, allocations: 441.1 kB / 2.19 GB, free: 7.023 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/3.216, allocations: 271.9 kB / 2.191 GB, free: 6.758 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$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 (704): * Single equations (assignments): 694 * 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 {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00186/3.218, allocations: 0.5448 MB / 2.191 GB, free: 6.203 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003771/3.222, allocations: 1.005 MB / 2.192 GB, free: 5.191 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01501/3.237, allocations: 6.057 MB / 2.198 GB, free: 15.07 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009785/3.247, allocations: 4.471 MB / 2.202 GB, free: 10.55 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/3.247, allocations: 4 kB / 2.202 GB, free: 10.55 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007065/3.254, allocations: 1.598 MB / 2.204 GB, free: 8.945 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003244/3.257, allocations: 84 kB / 2.204 GB, free: 8.863 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007368/3.265, allocations: 296.6 kB / 2.204 GB, free: 8.578 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/3.265, allocations: 334.8 kB / 2.205 GB, free: 8.25 MB / 1.701 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01485/3.28, allocations: 5.566 MB / 2.21 GB, free: 2.633 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01694/3.297, allocations: 7.683 MB / 2.217 GB, free: 10.9 MB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00398/3.301, allocations: 1.894 MB / 2.219 GB, free: 9 MB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01233/3.313, allocations: 6.155 MB / 2.225 GB, free: 2.895 MB / 1.717 GB Notification: Performance of Backend: time 6.52e-07/3.313, allocations: 0 / 2.225 GB, free: 2.895 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.03921/3.353, allocations: 11.56 MB / 2.237 GB, free: 7.578 MB / 1.732 GB Notification: Performance of SimCode: time 0.05528/3.408, allocations: 23.8 MB / 2.26 GB, free: 15.86 MB / 1.764 GB Notification: Performance of Templates: time 1.617/5.025, allocations: 243.6 MB / 2.498 GB, free: 0.5132 GB / 1.764 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.System2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 24.273299803004193] Failed to read output from testmodel.py, exit status != 0: 5.0349154170035035 5.043373551 2.367608693 Calling exit ...