Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 114.6 kB / 16.42 MB, free: 6.012 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.001188/0.001188, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8124, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.4282/1.241, allocations: 357.9 MB / 1.438 GB, free: 7.219 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.05301/1.294, allocations: 39.28 MB / 1.476 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006567/1.3, allocations: 163.1 kB / 1.477 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.008153/1.308, allocations: 2.917 MB / 1.479 GB, free: 12.72 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.02267/1.331, allocations: 9.125 MB / 1.488 GB, free: 3.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.344, allocations: 5.231 MB / 1.493 GB, free: 14.36 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01841/1.363, allocations: 12.86 MB / 1.506 GB, free: 1.465 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009692/1.373, allocations: 5.255 MB / 1.511 GB, free: 12.12 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/1.389, allocations: 6.362 MB / 1.517 GB, free: 5.766 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007913/1.397, allocations: 4.104 MB / 1.521 GB, free: 1.66 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002611/1.4, allocations: 0.6523 MB / 1.522 GB, free: 1.008 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/1.419, allocations: 8.512 MB / 1.53 GB, free: 8.48 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.004101/1.423, allocations: 1.908 MB / 1.532 GB, free: 6.566 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.007472/1.431, allocations: 3.375 MB / 1.535 GB, free: 3.176 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.02295/1.454, allocations: 11.92 MB / 1.547 GB, free: 7.219 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.454, allocations: 4 kB / 1.547 GB, free: 7.215 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.744e-06/1.454, allocations: 4 kB / 1.547 GB, free: 7.211 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003395/1.454, allocations: 0 / 1.547 GB, free: 7.211 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01943/1.474, allocations: 7.017 MB / 1.554 GB, free: 88 kB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.474, allocations: 12.03 kB / 1.554 GB, free: 76 kB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.498, allocations: 3.29 MB / 1.557 GB, free: 12.77 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.509, allocations: 4.388 MB / 1.562 GB, free: 8.32 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000441/1.51, allocations: 354.3 kB / 1.562 GB, free: 7.965 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/1.511, allocations: 416 kB / 1.562 GB, free: 7.559 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/1.528, allocations: 5.732 MB / 1.568 GB, free: 1.691 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/1.528, allocations: 11.78 kB / 1.568 GB, free: 1.68 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009295/1.529, allocations: 168 kB / 1.568 GB, free: 1.516 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/1.529, allocations: 167.9 kB / 1.568 GB, free: 1.352 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/1.549, allocations: 6.456 MB / 1.574 GB, free: 10.89 MB / 1.311 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.6114/2.16, allocations: 22.29 MB / 1.596 GB, free: 431.5 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/2.172, allocations: 4.469 MB / 1.601 GB, free: 429.6 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007114/2.179, allocations: 2.466 MB / 1.603 GB, free: 428.8 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/2.195, allocations: 8.221 MB / 1.611 GB, free: 424 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007185/2.202, allocations: 2.748 MB / 1.614 GB, free: 423.1 MB / 1.311 GB Notification: Performance of pre-optimization done (n=315): time 7.273e-06/2.202, allocations: 3.531 kB / 1.614 GB, free: 423.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=315): time 0.02535/2.228, allocations: 7.537 MB / 1.621 GB, free: 420.5 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/2.228, allocations: 246.2 kB / 1.621 GB, free: 420.3 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00737/2.235, allocations: 3.677 MB / 1.625 GB, free: 418.9 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001075/2.236, allocations: 98.75 kB / 1.625 GB, free: 418.9 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.002091/2.238, allocations: 2.098 MB / 1.627 GB, free: 417.3 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001757/2.24, allocations: 1.056 MB / 1.628 GB, free: 416.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/2.242, allocations: 0.7347 MB / 1.629 GB, free: 416.2 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/2.242, allocations: 307 kB / 1.629 GB, free: 415.9 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007031/2.249, allocations: 2.267 MB / 1.631 GB, free: 415.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008076/2.257, allocations: 2.939 MB / 1.634 GB, free: 413.7 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/2.273, allocations: 4.88 MB / 1.639 GB, free: 411.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-05/2.273, allocations: 3.344 kB / 1.639 GB, free: 411.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=445) (initialization): time 0.02087/2.294, allocations: 6.057 MB / 1.645 GB, free: 409.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/2.294, allocations: 11.19 kB / 1.645 GB, free: 409.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/2.294, allocations: 13.25 kB / 1.645 GB, free: 409.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/2.296, allocations: 442.5 kB / 1.645 GB, free: 409.2 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007325/2.303, allocations: 1.169 MB / 1.646 GB, free: 409.1 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/2.308, allocations: 5.617 MB / 1.652 GB, free: 403.7 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008024/2.316, allocations: 0.7255 MB / 1.653 GB, free: 403.5 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/2.318, allocations: 170.5 kB / 1.653 GB, free: 403.4 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01082/2.328, allocations: 3.08 MB / 1.656 GB, free: 402.2 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008423/2.337, allocations: 2.882 MB / 1.659 GB, free: 400.7 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01523/2.352, allocations: 4.797 MB / 1.663 GB, free: 398.5 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.521e-05/2.352, allocations: 2.844 kB / 1.663 GB, free: 398.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=445) (initialization_lambda0): time 0.02236/2.375, allocations: 5.943 MB / 1.669 GB, free: 395.8 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/2.375, allocations: 15.91 kB / 1.669 GB, free: 395.8 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/2.375, allocations: 11.78 kB / 1.669 GB, free: 395.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/2.376, allocations: 410.9 kB / 1.67 GB, free: 395.6 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/2.383, allocations: 1.145 MB / 1.671 GB, free: 395.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/2.389, allocations: 6.135 MB / 1.677 GB, free: 389.2 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008894/2.397, allocations: 0.6752 MB / 1.677 GB, free: 388.9 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/2.399, allocations: 166.5 kB / 1.677 GB, free: 388.8 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 21 (cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,cooCoi.flowRegime,$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 (429): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * 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.001932/2.4, allocations: 386 kB / 1.678 GB, free: 388.5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/2.403, allocations: 445.9 kB / 1.678 GB, free: 388.3 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/2.421, allocations: 5.786 MB / 1.684 GB, free: 385.1 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01461/2.436, allocations: 4.649 MB / 1.688 GB, free: 382.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/2.436, allocations: 0 / 1.688 GB, free: 382.7 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003247/2.439, allocations: 1.088 MB / 1.69 GB, free: 381.8 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/2.44, allocations: 65.48 kB / 1.69 GB, free: 381.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006118/2.447, allocations: 435.2 kB / 1.69 GB, free: 381.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005707/2.447, allocations: 211.5 kB / 1.69 GB, free: 381.5 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01826/2.465, allocations: 5.427 MB / 1.695 GB, free: 378.7 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01996/2.485, allocations: 7.779 MB / 1.703 GB, free: 372 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005647/2.491, allocations: 2.324 MB / 1.705 GB, free: 369.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004897/2.496, allocations: 2.49 MB / 1.708 GB, free: 367.1 MB / 1.311 GB Notification: Performance of Backend: time 7.42e-07/2.496, allocations: 0 / 1.708 GB, free: 367.1 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.03014/2.526, allocations: 9.011 MB / 1.717 GB, free: 358.7 MB / 1.311 GB Notification: Performance of SimCode: time 0.02055/2.547, allocations: 9.933 MB / 1.726 GB, free: 348.8 MB / 1.311 GB Notification: Performance of Templates: time 0.1741/2.721, allocations: 137.8 MB / 1.861 GB, free: 211.8 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)