Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2",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.488/1.488, allocations: 249.3 MB / 261.8 MB, free: 5.84 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.001112/0.001112, allocations: 180.9 kB / 321.3 MB, free: 14.63 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.696/1.696, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001014/0.001014, allocations: 84.38 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.731e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.306/7.553, allocations: 2.546 GB / 3.438 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/7.553, allocations: 89.48 kB / 3.438 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.71/25.27, allocations: 4.039 GB / 7.477 GB, free: 92.34 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.215e-06/25.27, allocations: 2.875 kB / 7.477 GB, free: 92.34 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002279/25.27, allocations: 226 kB / 7.477 GB, free: 92.3 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: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.04834/25.32, allocations: 8.529 MB / 7.486 GB, free: 88.64 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/25.32, allocations: 6.344 kB / 7.486 GB, free: 88.64 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006402/25.32, allocations: 0.9183 MB / 7.487 GB, free: 88.56 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/25.35, allocations: 2.639 MB / 7.489 GB, free: 88.03 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04788/25.4, allocations: 10 MB / 7.499 GB, free: 86.61 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001231/25.4, allocations: 0.5167 MB / 7.499 GB, free: 86.6 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/25.41, allocations: 0.684 MB / 7.5 GB, free: 86.59 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04462/25.45, allocations: 8.791 MB / 7.509 GB, free: 85.9 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007211/25.45, allocations: 14.19 kB / 7.509 GB, free: 85.89 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004607/25.46, allocations: 287.1 kB / 7.509 GB, free: 85.89 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006034/25.46, allocations: 298.4 kB / 7.509 GB, free: 85.88 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03319/25.49, allocations: 8.023 MB / 7.517 GB, free: 84.97 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.1039/25.6, allocations: 37.33 MB / 7.553 GB, free: 56.42 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/25.61, allocations: 5.337 MB / 7.559 GB, free: 51.01 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01004/25.62, allocations: 3.098 MB / 7.562 GB, free: 47.9 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/25.62, allocations: 1.059 MB / 7.563 GB, free: 46.66 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01101/25.63, allocations: 3.069 MB / 7.566 GB, free: 43.56 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007746/25.64, allocations: 396 kB / 7.566 GB, free: 43.17 MB / 1.026 GB Notification: Performance of pre-optimization done (n=455): time 2.42e-05/25.64, allocations: 0 / 7.566 GB, free: 43.17 MB / 1.026 GB Notification: Performance of matching and sorting (n=459): time 0.06647/25.71, allocations: 14.72 MB / 7.581 GB, free: 28.3 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/25.71, allocations: 411.4 kB / 7.581 GB, free: 27.81 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0215/25.73, allocations: 5.897 MB / 7.587 GB, free: 21.93 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.00195/25.73, allocations: 125.7 kB / 7.587 GB, free: 21.8 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007757/25.74, allocations: 3.726 MB / 7.59 GB, free: 18.05 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004203/25.75, allocations: 1.577 MB / 7.592 GB, free: 16.48 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/25.75, allocations: 96 kB / 7.592 GB, free: 16.39 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0008254/25.75, allocations: 0.4923 MB / 7.593 GB, free: 15.89 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007235/25.76, allocations: 2.226 MB / 7.595 GB, free: 13.66 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009548/25.76, allocations: 3.476 MB / 7.598 GB, free: 9.699 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008781/25.77, allocations: 2.853 MB / 7.601 GB, free: 6.84 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.826e-05/25.77, allocations: 4 kB / 7.601 GB, free: 6.836 MB / 1.026 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.02445/25.8, allocations: 6.685 MB / 7.607 GB, free: 136 kB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.963/26.76, allocations: 10.84 MB / 7.618 GB, free: 91.08 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/26.76, allocations: 23.77 kB / 7.618 GB, free: 91.08 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/26.76, allocations: 350.3 kB / 7.618 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/26.77, allocations: 1.096 MB / 7.619 GB, free: 91.04 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/26.78, allocations: 6.515 MB / 7.626 GB, free: 86.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/26.79, allocations: 0.7075 MB / 7.627 GB, free: 86.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/26.79, allocations: 199 kB / 7.627 GB, free: 86.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/26.79, allocations: 3.656 kB / 7.627 GB, free: 86.1 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01409/26.8, allocations: 6.111 MB / 7.633 GB, free: 85.88 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/26.8, allocations: 21.92 kB / 7.633 GB, free: 85.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/26.81, allocations: 342.8 kB / 7.633 GB, free: 85.85 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/26.81, allocations: 1.073 MB / 7.634 GB, free: 85.85 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/26.82, allocations: 6.854 MB / 7.641 GB, free: 80.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/26.83, allocations: 0.6942 MB / 7.641 GB, free: 80.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/26.83, allocations: 193.1 kB / 7.642 GB, free: 80.68 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (578): * Single equations (assignments): 570 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 3 {1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0021/26.83, allocations: 395.5 kB / 7.642 GB, free: 80.56 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003076/26.84, allocations: 0.6951 MB / 7.643 GB, free: 80.56 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/26.85, allocations: 6.586 MB / 7.649 GB, free: 80.21 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/26.85, allocations: 48.39 kB / 7.649 GB, free: 80.21 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/26.85, allocations: 3.438 kB / 7.649 GB, free: 80.21 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01225/26.87, allocations: 5.346 MB / 7.654 GB, free: 79.73 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.03818/26.9, allocations: 15.28 MB / 7.669 GB, free: 78.63 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/26.9, allocations: 3.719 kB / 7.669 GB, free: 78.63 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004874/26.91, allocations: 1.019 MB / 7.67 GB, free: 78.63 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/26.91, allocations: 328.3 kB / 7.671 GB, free: 78.59 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006686/26.91, allocations: 131.7 kB / 7.671 GB, free: 78.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/26.92, allocations: 9.211 MB / 7.68 GB, free: 71.01 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/26.92, allocations: 3.875 kB / 7.68 GB, free: 71.01 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/26.94, allocations: 10.05 MB / 7.69 GB, free: 69.89 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007518/26.95, allocations: 1.62 MB / 7.691 GB, free: 69.61 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003367/26.95, allocations: 104.9 kB / 7.691 GB, free: 69.61 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009247/26.96, allocations: 0.625 MB / 7.692 GB, free: 69.59 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/26.96, allocations: 291.3 kB / 7.692 GB, free: 69.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001343/26.96, allocations: 173.6 kB / 7.692 GB, free: 69.59 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01455/26.98, allocations: 4.705 MB / 7.697 GB, free: 69.34 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.81e-07/26.98, allocations: 0.875 kB / 7.697 GB, free: 69.34 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02872/27, allocations: 4.392 MB / 7.701 GB, free: 69.34 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 24 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (461): * Single equations (assignments): 448 * 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%) 7,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.04151/27.05, allocations: 18.75 MB / 7.719 GB, free: 63.46 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0271/27.07, allocations: 9.783 MB / 7.729 GB, free: 62.51 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.317e-05/27.07, allocations: 8.156 kB / 7.729 GB, free: 62.51 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007351/27.08, allocations: 3.341 MB / 7.732 GB, free: 61.94 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02644/27.11, allocations: 4.136 MB / 7.736 GB, free: 61.84 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06557/27.17, allocations: 17.72 MB / 7.754 GB, free: 58.76 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/27.18, allocations: 5.704 MB / 7.759 GB, free: 57.85 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02514/27.21, allocations: 5.355 MB / 7.764 GB, free: 57.78 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01012/27.22, allocations: 3.537 MB / 7.768 GB, free: 57.77 MB / 1.026 GB Notification: Performance of SimCode: time 1.312e-06/27.22, allocations: 2.531 kB / 7.768 GB, free: 57.77 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.586/28.81, allocations: 316.5 MB / 8.077 GB, free: 163.1 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/28.81, allocations: 234.2 kB / 8.077 GB, free: 162.8 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.1/45.91, allocations: 2.25 kB / 8.077 GB, free: 162.8 MB / 1.089 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_SpaceCooling_System2.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)