Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect") translateModel(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooETS.senTDisSup.T|cooETS.senTDisRet.T|cooETS.senTBuiSup.T|cooETS.senTBuiRet.T|cooETS.hex.m1_flow|cooETS.hex.m2_flow|loa.m_flow|cooETS.conVal.y|cooETS.hex.port_a1.p|cooETS.hex.port_b1.p|cooETS.hex.port_a2.p|cooETS.hex.port_b2.p|cooETS.Q_flow|cooETS.Q",fileNamePrefix="Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 115.5 kB / 16.81 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196.7 kB / 17.77 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.019/3.019, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.09 kB / 1.097 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.419, allocations: 168.7 MB / 1.262 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Indirect): time 0.1283/0.5473, allocations: 116.1 MB / 1.375 GB, free: 8.625 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.05266/0.5999, allocations: 31.25 MB / 1.406 GB, free: 9.297 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007546/0.6075, allocations: 131.2 kB / 1.406 GB, free: 9.168 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0095/0.617, allocations: 2.756 MB / 1.409 GB, free: 6.398 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01519/0.6322, allocations: 4.766 MB / 1.413 GB, free: 1.613 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01239/0.6446, allocations: 4.131 MB / 1.417 GB, free: 13.51 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0201/0.6647, allocations: 11.24 MB / 1.428 GB, free: 2.246 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005876/0.6705, allocations: 2.514 MB / 1.431 GB, free: 15.66 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.6834, allocations: 3.71 MB / 1.435 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007411/0.6908, allocations: 2.532 MB / 1.437 GB, free: 9.41 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.6929, allocations: 360 kB / 1.437 GB, free: 9.059 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.7059, allocations: 3.764 MB / 1.441 GB, free: 5.289 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002962/0.7088, allocations: 1.062 MB / 1.442 GB, free: 4.223 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.7138, allocations: 2.064 MB / 1.444 GB, free: 2.148 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01764/0.7314, allocations: 6.984 MB / 1.451 GB, free: 11.14 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7314, allocations: 0 / 1.451 GB, free: 11.14 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7314, allocations: 0 / 1.451 GB, free: 11.14 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001845/0.7316, allocations: 0 / 1.451 GB, free: 11.14 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01263/0.7442, allocations: 4.667 MB / 1.455 GB, free: 6.387 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.7443, allocations: 8.031 kB / 1.455 GB, free: 6.379 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.7486, allocations: 0.8599 MB / 1.456 GB, free: 5.512 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009408/0.758, allocations: 4.172 MB / 1.46 GB, free: 1.281 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.7582, allocations: 159.8 kB / 1.461 GB, free: 1.125 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006405/0.7589, allocations: 216 kB / 1.461 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00519/0.7641, allocations: 2.336 MB / 1.463 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.7641, allocations: 3.938 kB / 1.463 GB, free: 14.49 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.7643, allocations: 83.98 kB / 1.463 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.22e-05/0.7644, allocations: 75.5 kB / 1.463 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.7695, allocations: 2.016 MB / 1.465 GB, free: 12.32 MB / 1.186 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.021/0.7905, allocations: 11.66 MB / 1.477 GB, free: 15.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.7944, allocations: 1.537 MB / 1.478 GB, free: 14.42 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.7964, allocations: 0.8279 MB / 1.479 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/0.8073, allocations: 5.325 MB / 1.484 GB, free: 7.863 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00235/0.8097, allocations: 0.9778 MB / 1.485 GB, free: 6.867 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001497/0.8112, allocations: 154.8 kB / 1.485 GB, free: 6.715 MB / 1.201 GB Notification: Performance of pre-optimization done (n=134): time 5.089e-06/0.8112, allocations: 3.938 kB / 1.485 GB, free: 6.711 MB / 1.201 GB Notification: Performance of matching and sorting (n=137): time 0.01623/0.8274, allocations: 5.829 MB / 1.491 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.8275, allocations: 116.1 kB / 1.491 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005138/0.8326, allocations: 3.093 MB / 1.494 GB, free: 13.56 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004818/0.8331, allocations: 57.7 kB / 1.494 GB, free: 13.5 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.8347, allocations: 1.472 MB / 1.495 GB, free: 12.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007039/0.8354, allocations: 0.4996 MB / 1.496 GB, free: 11.51 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/0.8362, allocations: 495.8 kB / 1.496 GB, free: 11.02 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8364, allocations: 301.1 kB / 1.497 GB, free: 10.72 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.8387, allocations: 0.9661 MB / 1.498 GB, free: 9.746 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.8418, allocations: 1.512 MB / 1.499 GB, free: 8.023 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004846/0.8466, allocations: 2.278 MB / 1.501 GB, free: 5.594 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.8466, allocations: 4 kB / 1.501 GB, free: 5.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.007478/0.8541, allocations: 3.003 MB / 1.504 GB, free: 2.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.8541, allocations: 9.875 kB / 1.504 GB, free: 2.562 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.8542, allocations: 12 kB / 1.504 GB, free: 2.551 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.8554, allocations: 321.3 kB / 1.505 GB, free: 2.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.8575, allocations: 0.4954 MB / 1.505 GB, free: 1.734 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.8591, allocations: 1.466 MB / 1.507 GB, free: 224 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003016/0.8621, allocations: 167.9 kB / 1.507 GB, free: 56 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.8624, allocations: 100 kB / 1.507 GB, free: 15.95 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003711/0.8661, allocations: 1.543 MB / 1.508 GB, free: 14.4 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002783/0.8689, allocations: 1.47 MB / 1.51 GB, free: 12.72 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004516/0.8734, allocations: 2.222 MB / 1.512 GB, free: 10.35 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.101e-05/0.8734, allocations: 0 / 1.512 GB, free: 10.35 MB / 1.232 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.006894/0.8803, allocations: 2.924 MB / 1.515 GB, free: 7.406 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8804, allocations: 8 kB / 1.515 GB, free: 7.398 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.8804, allocations: 12 kB / 1.515 GB, free: 7.387 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.8814, allocations: 301.3 kB / 1.515 GB, free: 7.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.8834, allocations: 495.3 kB / 1.516 GB, free: 6.605 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.8861, allocations: 2.564 MB / 1.518 GB, free: 3.879 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.8892, allocations: 175.9 kB / 1.518 GB, free: 3.707 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/0.8894, allocations: 103.8 kB / 1.518 GB, free: 3.605 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.int.local_reset,cooETS.hex.flowRegime_nominal,cooETS.hex.flowRegime,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 234 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(3,14), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006875/0.8901, allocations: 303.7 kB / 1.519 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.8912, allocations: 345.8 kB / 1.519 GB, free: 2.961 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006348/0.8975, allocations: 2.492 MB / 1.521 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004491/0.902, allocations: 2.038 MB / 1.523 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.902, allocations: 0 / 1.523 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001932/0.9039, allocations: 0.6585 MB / 1.524 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/0.9045, allocations: 32 kB / 1.524 GB, free: 13.63 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.9063, allocations: 144.2 kB / 1.524 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.9065, allocations: 105.1 kB / 1.524 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006546/0.9131, allocations: 2.416 MB / 1.527 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007921/0.921, allocations: 3.458 MB / 1.53 GB, free: 7.477 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002116/0.9231, allocations: 0.8697 MB / 1.531 GB, free: 6.609 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004152/0.9273, allocations: 2.047 MB / 1.533 GB, free: 4.578 MB / 1.248 GB Notification: Performance of Backend: time 3.51e-07/0.9273, allocations: 0 / 1.533 GB, free: 4.578 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01542/0.9427, allocations: 4.331 MB / 1.537 GB, free: 436 kB / 1.248 GB Notification: Performance of SimCode: time 0.01684/0.9595, allocations: 7.199 MB / 1.544 GB, free: 9.199 MB / 1.264 GB Notification: Performance of Templates: time 0.9547/1.914, allocations: 79.25 MB / 1.621 GB, free: 238 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.makefile (rm -f Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; mkfifo Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe >> ../files/Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.sim & ./Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe 2>&1)