Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 179.7 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.0009107, allocations: 93.22 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.659e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.212/6.412, allocations: 2.547 GB / 3.432 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/6.413, allocations: 87.52 kB / 3.433 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.56/21.97, allocations: 4.001 GB / 7.434 GB, free: 96.57 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.553e-06/21.97, allocations: 0 / 7.434 GB, free: 96.57 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001862/21.97, allocations: 223 kB / 7.434 GB, free: 96.54 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.03727/22.01, allocations: 8.573 MB / 7.442 GB, free: 92.86 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/22.01, allocations: 10.91 kB / 7.442 GB, free: 92.86 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01993/22.03, allocations: 2.637 MB / 7.445 GB, free: 92.33 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03508/22.07, allocations: 10 MB / 7.455 GB, free: 90.91 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007811/22.07, allocations: 219.3 kB / 7.455 GB, free: 90.91 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004668/22.07, allocations: 417.9 kB / 7.455 GB, free: 90.91 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01989/22.09, allocations: 7.492 MB / 7.463 GB, free: 90.88 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02743/22.12, allocations: 7.817 MB / 7.47 GB, free: 90.21 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/22.12, allocations: 11.62 kB / 7.47 GB, free: 90.2 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/22.12, allocations: 7.5 kB / 7.47 GB, free: 90.2 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002623/22.12, allocations: 306 kB / 7.47 GB, free: 90.18 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.06779/22.19, allocations: 36.31 MB / 7.506 GB, free: 66.77 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00935/22.2, allocations: 6.919 MB / 7.513 GB, free: 60.03 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/22.2, allocations: 2.994 MB / 7.516 GB, free: 57.32 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/22.2, allocations: 1.062 MB / 7.517 GB, free: 56.12 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005413/22.21, allocations: 2.889 MB / 7.519 GB, free: 53.21 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006443/22.22, allocations: 261.1 kB / 7.52 GB, free: 52.96 MB / 1.026 GB Notification: Performance of pre-optimization done (n=459): time 3.995e-05/22.22, allocations: 0 / 7.52 GB, free: 52.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=470): time 0.03498/22.25, allocations: 12.59 MB / 7.532 GB, free: 40.3 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/22.25, allocations: 334.4 kB / 7.532 GB, free: 39.91 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/22.26, allocations: 5.18 MB / 7.537 GB, free: 34.74 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/22.26, allocations: 33.7 kB / 7.537 GB, free: 34.7 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.004208/22.27, allocations: 3.743 MB / 7.541 GB, free: 30.93 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002407/22.27, allocations: 1.555 MB / 7.543 GB, free: 29.35 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/22.27, allocations: 0 / 7.543 GB, free: 29.35 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003125/22.27, allocations: 0.4886 MB / 7.543 GB, free: 28.85 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/22.27, allocations: 2.149 MB / 7.545 GB, free: 26.7 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003529/22.28, allocations: 3.35 MB / 7.548 GB, free: 22.87 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004754/22.28, allocations: 2.922 MB / 7.551 GB, free: 19.95 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/22.28, allocations: 8 kB / 7.551 GB, free: 19.95 MB / 1.026 GB Notification: Performance of matching and sorting (n=605) (initialization): time 0.01337/22.29, allocations: 6.665 MB / 7.558 GB, free: 13.26 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001875/22.3, allocations: 10.65 MB / 7.568 GB, free: 1.887 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-05/22.3, allocations: 27.98 kB / 7.568 GB, free: 1.859 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/22.3, allocations: 0.5577 MB / 7.569 GB, free: 1.293 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005358/22.3, allocations: 1.065 MB / 7.57 GB, free: 232 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9585/23.26, allocations: 8.914 MB / 7.579 GB, free: 100.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/23.27, allocations: 0.6085 MB / 7.579 GB, free: 100.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/23.28, allocations: 199.5 kB / 7.579 GB, free: 100.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/23.28, allocations: 3.688 kB / 7.579 GB, free: 100.7 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01643/23.29, allocations: 5.996 MB / 7.585 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/23.29, allocations: 23.56 kB / 7.585 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/23.29, allocations: 0.5676 MB / 7.586 GB, free: 100.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006679/23.3, allocations: 1.058 MB / 7.587 GB, free: 100.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/23.32, allocations: 9.758 MB / 7.596 GB, free: 94.24 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/23.33, allocations: 0.6013 MB / 7.597 GB, free: 94.24 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001825/23.33, allocations: 197.3 kB / 7.597 GB, free: 94.24 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (562): * Single equations (assignments): 554 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {2 23,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002119/23.33, allocations: 219.2 kB / 7.597 GB, free: 94.14 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01666/23.35, allocations: 5.568 MB / 7.603 GB, free: 93.97 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003247/23.35, allocations: 0.6646 MB / 7.603 GB, free: 93.96 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/23.37, allocations: 6.407 MB / 7.61 GB, free: 93.61 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/23.37, allocations: 52.39 kB / 7.61 GB, free: 93.61 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/23.37, allocations: 0 / 7.61 GB, free: 93.61 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009252/23.38, allocations: 5.281 MB / 7.615 GB, free: 93.13 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03588/23.41, allocations: 14.57 MB / 7.629 GB, free: 91.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/23.41, allocations: 0 / 7.629 GB, free: 91.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005139/23.42, allocations: 1.046 MB / 7.63 GB, free: 91.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/23.42, allocations: 362.4 kB / 7.63 GB, free: 91.86 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008546/23.42, allocations: 70 kB / 7.631 GB, free: 91.86 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007361/23.43, allocations: 8.96 MB / 7.639 GB, free: 84.6 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/23.43, allocations: 7.547 kB / 7.639 GB, free: 84.6 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/23.44, allocations: 9.452 MB / 7.649 GB, free: 83.73 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006949/23.45, allocations: 1.558 MB / 7.65 GB, free: 83.29 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003644/23.46, allocations: 31.28 kB / 7.65 GB, free: 83.29 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/23.47, allocations: 0.5951 MB / 7.651 GB, free: 83.27 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/23.47, allocations: 303 kB / 7.651 GB, free: 83.27 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006901/23.47, allocations: 182.5 kB / 7.651 GB, free: 83.27 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01004/23.48, allocations: 3.955 MB / 7.655 GB, free: 83.05 MB / 1.026 GB Notification: Performance of sort global known variables: time 3.31e-07/23.48, allocations: 0 / 7.655 GB, free: 83.05 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03008/23.51, allocations: 4.238 MB / 7.659 GB, free: 83.05 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0378/23.55, allocations: 18.13 MB / 7.677 GB, free: 77.93 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02187/23.57, allocations: 9.761 MB / 7.686 GB, free: 76.79 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.955e-05/23.57, allocations: 7.219 kB / 7.686 GB, free: 76.79 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006944/23.58, allocations: 3.274 MB / 7.69 GB, free: 76.26 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02264/23.6, allocations: 3.636 MB / 7.693 GB, free: 76.17 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0538/23.65, allocations: 17.36 MB / 7.71 GB, free: 73.14 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00846/23.66, allocations: 5.742 MB / 7.716 GB, free: 72.23 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02409/23.68, allocations: 5.138 MB / 7.721 GB, free: 72.15 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008925/23.69, allocations: 3.587 MB / 7.724 GB, free: 72.14 MB / 1.026 GB Notification: Performance of SimCode: time 1.492e-06/23.69, allocations: 0 / 7.724 GB, free: 72.14 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/25, allocations: 249.2 MB / 7.968 GB, free: 117.6 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/25, allocations: 182.1 kB / 7.968 GB, free: 117.4 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/38.13, allocations: 0 / 7.968 GB, free: 117.4 MB / 1.073 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System3_fmu --startTime=1.5552e+07 --stopTime=1.56384e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System3.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)