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.573/1.573, allocations: 249.3 MB / 261.8 MB, free: 5.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.001071/0.001071, allocations: 180.3 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009901/0.0009901, allocations: 86.47 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.799e-05, allocations: 0 / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.482/7.706, allocations: 2.547 GB / 3.439 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/7.706, allocations: 92.06 kB / 3.439 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.1/24.81, allocations: 4.04 GB / 7.478 GB, free: 72.97 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.966e-06/24.81, allocations: 0 / 7.478 GB, free: 72.97 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001763/24.81, allocations: 226.6 kB / 7.479 GB, free: 72.92 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.03494/24.84, allocations: 8.565 MB / 7.487 GB, free: 66.89 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/24.84, allocations: 12.03 kB / 7.487 GB, free: 66.88 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004652/24.85, allocations: 0.9174 MB / 7.488 GB, free: 65.96 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/24.87, allocations: 2.634 MB / 7.491 GB, free: 63.31 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02975/24.9, allocations: 10.01 MB / 7.5 GB, free: 53.25 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006905/24.9, allocations: 0.5172 MB / 7.501 GB, free: 52.73 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003506/24.9, allocations: 0.6951 MB / 7.501 GB, free: 52.03 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/24.93, allocations: 8.83 MB / 7.51 GB, free: 43 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003357/24.93, allocations: 7.938 kB / 7.51 GB, free: 43 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002676/24.93, allocations: 288 kB / 7.51 GB, free: 42.71 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002852/24.94, allocations: 305.4 kB / 7.511 GB, free: 42.41 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/24.96, allocations: 8.029 MB / 7.519 GB, free: 34.37 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.9839/25.94, allocations: 37.47 MB / 7.555 GB, free: 71.98 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/25.95, allocations: 5.607 MB / 7.561 GB, free: 71.25 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007412/25.96, allocations: 3.158 MB / 7.564 GB, free: 71.21 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/25.96, allocations: 1.064 MB / 7.565 GB, free: 70.18 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006349/25.97, allocations: 3.111 MB / 7.568 GB, free: 70.04 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005882/25.97, allocations: 389.3 kB / 7.568 GB, free: 70.04 MB / 1.026 GB Notification: Performance of pre-optimization done (n=462): time 4.042e-05/25.97, allocations: 1.25 kB / 7.568 GB, free: 70.04 MB / 1.026 GB Notification: Performance of matching and sorting (n=473): time 0.04144/26.02, allocations: 13.01 MB / 7.581 GB, free: 68.53 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/26.02, allocations: 335.6 kB / 7.581 GB, free: 68.18 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01646/26.03, allocations: 5.823 MB / 7.587 GB, free: 67.78 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001755/26.03, allocations: 130.8 kB / 7.587 GB, free: 67.75 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005426/26.04, allocations: 3.73 MB / 7.591 GB, free: 66.92 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002818/26.04, allocations: 1.634 MB / 7.592 GB, free: 66.09 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/26.04, allocations: 95.12 kB / 7.592 GB, free: 66.09 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003071/26.04, allocations: 0.4927 MB / 7.593 GB, free: 65.78 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/26.05, allocations: 2.279 MB / 7.595 GB, free: 65.76 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/26.05, allocations: 3.535 MB / 7.598 GB, free: 64.49 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004398/26.06, allocations: 2.908 MB / 7.601 GB, free: 64.43 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/26.06, allocations: 7.812 kB / 7.601 GB, free: 64.43 MB / 1.026 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.01518/26.07, allocations: 7.028 MB / 7.608 GB, free: 63.91 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002399/26.07, allocations: 10.84 MB / 7.619 GB, free: 52.47 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-05/26.07, allocations: 27.92 kB / 7.619 GB, free: 52.47 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/26.08, allocations: 0.5899 MB / 7.619 GB, free: 52.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/26.08, allocations: 1.067 MB / 7.62 GB, free: 52.43 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009665/26.09, allocations: 9.423 MB / 7.63 GB, free: 46.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/26.1, allocations: 0.7318 MB / 7.63 GB, free: 46.64 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/26.1, allocations: 192.5 kB / 7.63 GB, free: 46.64 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/26.1, allocations: 4.844 kB / 7.63 GB, free: 46.64 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01291/26.12, allocations: 6.476 MB / 7.637 GB, free: 46.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.301e-05/26.12, allocations: 21.41 kB / 7.637 GB, free: 46.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/26.12, allocations: 0.594 MB / 7.637 GB, free: 46.36 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00528/26.12, allocations: 1.058 MB / 7.638 GB, free: 46.36 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/26.13, allocations: 10.35 MB / 7.649 GB, free: 39.76 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/26.14, allocations: 0.7171 MB / 7.649 GB, free: 39.74 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/26.15, allocations: 197.3 kB / 7.649 GB, free: 39.74 MB / 1.026 GB 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 (565): * Single equations (assignments): 557 * 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 {3 22,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001881/26.15, allocations: 393.8 kB / 7.65 GB, free: 39.64 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003035/26.15, allocations: 0.6959 MB / 7.65 GB, free: 39.27 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/26.17, allocations: 6.809 MB / 7.657 GB, free: 54.89 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/26.17, allocations: 49 kB / 7.657 GB, free: 54.89 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/26.17, allocations: 2.781 kB / 7.657 GB, free: 54.89 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00976/26.18, allocations: 5.537 MB / 7.663 GB, free: 54.4 MB / 1.042 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.04059/26.22, allocations: 15.64 MB / 7.678 GB, free: 53.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/26.22, allocations: 0.9375 kB / 7.678 GB, free: 53.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005594/26.22, allocations: 1.057 MB / 7.679 GB, free: 53.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/26.23, allocations: 361.2 kB / 7.679 GB, free: 53.17 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/26.23, allocations: 133.7 kB / 7.679 GB, free: 53.17 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008483/26.23, allocations: 9.269 MB / 7.688 GB, free: 45.55 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/26.23, allocations: 7.156 kB / 7.688 GB, free: 45.55 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/26.25, allocations: 9.918 MB / 7.698 GB, free: 44.55 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007963/26.26, allocations: 1.622 MB / 7.7 GB, free: 44.09 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003267/26.27, allocations: 107.4 kB / 7.7 GB, free: 44.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00983/26.28, allocations: 0.6683 MB / 7.7 GB, free: 44.08 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/26.28, allocations: 300.9 kB / 7.701 GB, free: 44.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007534/26.28, allocations: 180.7 kB / 7.701 GB, free: 44.07 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01094/26.29, allocations: 4.541 MB / 7.705 GB, free: 43.83 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.31e-07/26.29, allocations: 4.719 kB / 7.705 GB, free: 43.83 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02774/26.32, allocations: 4.476 MB / 7.71 GB, free: 43.83 MB / 1.042 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 (478): * Single equations (assignments): 465 * 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.03372/26.35, allocations: 18.42 MB / 7.728 GB, free: 38.61 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.02037/26.37, allocations: 10.43 MB / 7.738 GB, free: 37.35 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/26.37, allocations: 5.438 kB / 7.738 GB, free: 37.35 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.006343/26.38, allocations: 3.482 MB / 7.741 GB, free: 36.77 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02199/26.4, allocations: 3.983 MB / 7.745 GB, free: 36.67 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04914/26.45, allocations: 17.85 MB / 7.763 GB, free: 33.64 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009159/26.46, allocations: 5.744 MB / 7.768 GB, free: 32.73 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02211/26.48, allocations: 5.342 MB / 7.773 GB, free: 32.65 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0082/26.49, allocations: 3.588 MB / 7.777 GB, free: 32.64 MB / 1.042 GB Notification: Performance of SimCode: time 2.244e-06/26.49, allocations: 0 / 7.777 GB, free: 32.64 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/27.89, allocations: 318.9 MB / 8.088 GB, free: 123.2 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/27.89, allocations: 239 kB / 8.089 GB, free: 122.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.58/45.46, allocations: 7.938 kB / 8.089 GB, free: 122.9 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)