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.537/1.537, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 183.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009676/0.0009675, allocations: 98.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 10.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 106.4 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.874/7.162, allocations: 2.547 GB / 3.447 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/7.162, allocations: 93.05 kB / 3.447 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 18.78/25.94, allocations: 4.045 GB / 7.492 GB, free: 62.14 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.106e-06/25.94, allocations: 0 / 7.492 GB, free: 62.14 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002313/25.94, allocations: 227.2 kB / 7.493 GB, free: 62.11 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.05303/26, allocations: 10.36 MB / 7.503 GB, free: 58 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/26, allocations: 10.31 kB / 7.503 GB, free: 58 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00625/26, allocations: 0.9351 MB / 7.504 GB, free: 57.92 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/26.03, allocations: 2.648 MB / 7.506 GB, free: 57.38 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0377/26.06, allocations: 10.07 MB / 7.516 GB, free: 56.14 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001413/26.06, allocations: 0.5178 MB / 7.517 GB, free: 56.13 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00556/26.07, allocations: 0.702 MB / 7.517 GB, free: 56.12 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03677/26.11, allocations: 9.02 MB / 7.526 GB, free: 55.44 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006949/26.11, allocations: 8.531 kB / 7.526 GB, free: 55.44 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00408/26.11, allocations: 289.3 kB / 7.526 GB, free: 55.44 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003653/26.11, allocations: 299.4 kB / 7.527 GB, free: 55.42 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02529/26.14, allocations: 8.336 MB / 7.535 GB, free: 55.36 MB / 1.026 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.09593/26.23, allocations: 37.48 MB / 7.571 GB, free: 41.11 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/26.25, allocations: 5.812 MB / 7.577 GB, free: 40.36 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/26.25, allocations: 1.062 MB / 7.578 GB, free: 39.32 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009762/26.26, allocations: 3.224 MB / 7.581 GB, free: 39.19 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006964/26.27, allocations: 387.9 kB / 7.582 GB, free: 39 MB / 1.026 GB Notification: Performance of pre-optimization done (n=462): time 4.898e-05/26.27, allocations: 0 / 7.582 GB, free: 39 MB / 1.026 GB Notification: Performance of matching and sorting (n=473): time 0.05759/26.32, allocations: 16.14 MB / 7.597 GB, free: 36.6 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/26.32, allocations: 335 kB / 7.598 GB, free: 36.25 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01986/26.34, allocations: 5.894 MB / 7.603 GB, free: 35.86 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/26.35, allocations: 125.2 kB / 7.604 GB, free: 35.83 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007464/26.35, allocations: 3.733 MB / 7.607 GB, free: 34.66 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003552/26.36, allocations: 1.629 MB / 7.609 GB, free: 33.61 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/26.36, allocations: 94.66 kB / 7.609 GB, free: 33.61 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0007052/26.36, allocations: 494.2 kB / 7.609 GB, free: 33.3 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/26.36, allocations: 2.404 MB / 7.612 GB, free: 33.28 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007667/26.37, allocations: 3.646 MB / 7.615 GB, free: 32.02 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00749/26.38, allocations: 3.012 MB / 7.618 GB, free: 31.96 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/26.38, allocations: 6.375 kB / 7.618 GB, free: 31.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.02263/26.4, allocations: 7.135 MB / 7.625 GB, free: 31.45 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004169/26.41, allocations: 10.84 MB / 7.636 GB, free: 36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/26.41, allocations: 20.78 kB / 7.636 GB, free: 36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/26.41, allocations: 0.6133 MB / 7.636 GB, free: 35.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/26.42, allocations: 1.065 MB / 7.637 GB, free: 35.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/26.43, allocations: 9.744 MB / 7.647 GB, free: 30.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/26.44, allocations: 0.7344 MB / 7.648 GB, free: 30.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001895/26.44, allocations: 201.9 kB / 7.648 GB, free: 30.11 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/26.44, allocations: 3.281 kB / 7.648 GB, free: 30.11 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02001/26.46, allocations: 6.564 MB / 7.654 GB, free: 29.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/26.46, allocations: 24.02 kB / 7.654 GB, free: 29.88 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/26.47, allocations: 0.6006 MB / 7.655 GB, free: 29.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006013/26.47, allocations: 1.061 MB / 7.656 GB, free: 29.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/26.49, allocations: 10.68 MB / 7.666 GB, free: 23.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/26.5, allocations: 0.7337 MB / 7.667 GB, free: 23.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/26.5, allocations: 200.1 kB / 7.667 GB, free: 23.18 MB / 1.042 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 () * Number of clocked 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.01152/26.51, allocations: 2.833 MB / 7.67 GB, free: 22.98 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004245/26.51, allocations: 0.6949 MB / 7.671 GB, free: 22.62 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02286/26.54, allocations: 7.069 MB / 7.678 GB, free: 22.21 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.409e-05/26.54, allocations: 57.67 kB / 7.678 GB, free: 22.21 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.062e-05/26.54, allocations: 3.188 kB / 7.678 GB, free: 22.21 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01533/26.55, allocations: 5.795 MB / 7.683 GB, free: 21.72 MB / 1.042 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 postOpt removeSimpleEquations (simulation): time 0.05777/26.61, allocations: 15.91 MB / 7.699 GB, free: 20.51 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-05/26.61, allocations: 7.609 kB / 7.699 GB, free: 20.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006589/26.62, allocations: 1.052 MB / 7.7 GB, free: 20.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/26.62, allocations: 393.5 kB / 7.7 GB, free: 20.46 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001654/26.62, allocations: 134.7 kB / 7.7 GB, free: 20.46 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/26.64, allocations: 10.85 MB / 7.711 GB, free: 27.58 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/26.64, allocations: 0.75 kB / 7.711 GB, free: 27.58 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/26.67, allocations: 10.25 MB / 7.721 GB, free: 23.58 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009187/26.68, allocations: 1.619 MB / 7.723 GB, free: 22.66 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004274/26.68, allocations: 109 kB / 7.723 GB, free: 22.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0111/26.69, allocations: 0.6655 MB / 7.723 GB, free: 22.5 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/26.69, allocations: 301.1 kB / 7.724 GB, free: 22.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001698/26.69, allocations: 183.2 kB / 7.724 GB, free: 22.42 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01526/26.71, allocations: 4.608 MB / 7.728 GB, free: 20.82 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.162e-06/26.71, allocations: 0 / 7.728 GB, free: 20.82 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03279/26.74, allocations: 4.526 MB / 7.733 GB, free: 20.14 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * 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: 6 * 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: 4 {(1,100.0%) 1,(1,100.0%) 2,(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.04267/26.79, allocations: 18.78 MB / 7.751 GB, free: 11.27 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02488/26.81, allocations: 10.57 MB / 7.761 GB, free: 7.109 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-05/26.81, allocations: 7.875 kB / 7.761 GB, free: 7.105 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.00957/26.82, allocations: 3.722 MB / 7.765 GB, free: 5.477 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02601/26.85, allocations: 3.975 MB / 7.769 GB, free: 3.59 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.024/27.87, allocations: 50.75 MB / 7.818 GB, free: 78.3 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/27.88, allocations: 5.733 MB / 7.824 GB, free: 77.4 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.01998/27.9, allocations: 3.378 MB / 7.827 GB, free: 77.34 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01137/27.92, allocations: 3.709 MB / 7.831 GB, free: 77.34 MB / 1.073 GB Notification: Performance of SimCode: time 2.916e-06/27.92, allocations: 0 / 7.831 GB, free: 77.34 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5117/28.43, allocations: 299.6 MB / 8.124 GB, free: 15.41 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/28.43, allocations: 261.8 kB / 8.124 GB, free: 15.05 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/43.67, allocations: 3.469 kB / 8.124 GB, free: 15.05 MB / 1.089 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)