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.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.941 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.001074/0.001074, allocations: 187.4 kB / 316.3 MB, free: 3.242 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.463/1.463, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000963/0.000963, allocations: 92.41 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.586e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1867, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.358/6.545, allocations: 2.547 GB / 3.432 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/6.545, allocations: 87.95 kB / 3.432 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.51/22.05, allocations: 4 GB / 7.432 GB, free: 81.73 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.944e-06/22.05, allocations: 0 / 7.432 GB, free: 81.73 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001762/22.06, allocations: 222.7 kB / 7.433 GB, free: 81.71 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.0356/22.09, allocations: 8.524 MB / 7.441 GB, free: 78.12 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/22.09, allocations: 7.688 kB / 7.441 GB, free: 78.12 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02038/22.11, allocations: 2.635 MB / 7.443 GB, free: 77.59 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03706/22.15, allocations: 10 MB / 7.453 GB, free: 76.34 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006605/22.15, allocations: 222.4 kB / 7.453 GB, free: 76.34 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004112/22.15, allocations: 415.3 kB / 7.454 GB, free: 76.34 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02319/22.18, allocations: 7.463 MB / 7.461 GB, free: 76.31 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03121/22.21, allocations: 7.792 MB / 7.469 GB, free: 75.67 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003052/22.21, allocations: 10.22 kB / 7.469 GB, free: 75.66 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002/22.21, allocations: 6.938 kB / 7.469 GB, free: 75.66 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003293/22.21, allocations: 300.3 kB / 7.469 GB, free: 75.65 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.07066/22.28, allocations: 36.15 MB / 7.504 GB, free: 61.41 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00928/22.29, allocations: 6.533 MB / 7.511 GB, free: 59.45 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005063/22.3, allocations: 2.939 MB / 7.514 GB, free: 59.41 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/22.3, allocations: 1.061 MB / 7.515 GB, free: 58.37 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005639/22.3, allocations: 2.866 MB / 7.517 GB, free: 58.21 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005968/22.31, allocations: 266.7 kB / 7.518 GB, free: 58.05 MB / 1.026 GB Notification: Performance of pre-optimization done (n=452): time 2.433e-05/22.31, allocations: 2.281 kB / 7.518 GB, free: 58.05 MB / 1.026 GB Notification: Performance of matching and sorting (n=456): time 0.05137/22.36, allocations: 14.34 MB / 7.532 GB, free: 54.17 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/22.36, allocations: 413.3 kB / 7.532 GB, free: 53.73 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/22.38, allocations: 5.195 MB / 7.537 GB, free: 53.33 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001617/22.38, allocations: 36.02 kB / 7.537 GB, free: 53.3 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005763/22.39, allocations: 3.703 MB / 7.541 GB, free: 52.04 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003286/22.39, allocations: 1.503 MB / 7.542 GB, free: 51.03 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/22.39, allocations: 0 / 7.542 GB, free: 51.03 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0007347/22.39, allocations: 500 kB / 7.543 GB, free: 50.71 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/22.4, allocations: 2.099 MB / 7.545 GB, free: 50.7 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006917/22.4, allocations: 3.305 MB / 7.548 GB, free: 49.44 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/22.41, allocations: 2.866 MB / 7.551 GB, free: 49.39 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-05/22.41, allocations: 4.625 kB / 7.551 GB, free: 49.39 MB / 1.026 GB Notification: Performance of matching and sorting (n=594) (initialization): time 0.0173/22.43, allocations: 6.34 MB / 7.557 GB, free: 47.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002727/22.43, allocations: 10.65 MB / 7.567 GB, free: 36.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-05/22.43, allocations: 25.11 kB / 7.567 GB, free: 36.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/22.43, allocations: 332.1 kB / 7.568 GB, free: 36.21 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00553/22.44, allocations: 1.091 MB / 7.569 GB, free: 36.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/22.44, allocations: 6.283 MB / 7.575 GB, free: 30.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009797/22.45, allocations: 0.5869 MB / 7.576 GB, free: 30.58 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/22.45, allocations: 194.3 kB / 7.576 GB, free: 30.54 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/22.45, allocations: 3.906 kB / 7.576 GB, free: 30.54 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01553/22.47, allocations: 5.681 MB / 7.581 GB, free: 28.52 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/22.47, allocations: 22.84 kB / 7.581 GB, free: 28.52 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/22.47, allocations: 338.4 kB / 7.582 GB, free: 28.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/22.48, allocations: 1.075 MB / 7.583 GB, free: 28.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006915/22.48, allocations: 6.552 MB / 7.589 GB, free: 22.56 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009421/22.49, allocations: 0.5631 MB / 7.59 GB, free: 22.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/22.49, allocations: 195.5 kB / 7.59 GB, free: 22.48 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: 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 (575): * Single equations (assignments): 567 * 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.002792/22.5, allocations: 219.6 kB / 7.59 GB, free: 22.29 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01528/22.51, allocations: 5.424 MB / 7.595 GB, free: 20.28 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003358/22.52, allocations: 0.6561 MB / 7.596 GB, free: 19.93 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/22.53, allocations: 6.203 MB / 7.602 GB, free: 16.78 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/22.53, allocations: 53.47 kB / 7.602 GB, free: 16.73 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/22.53, allocations: 4 kB / 7.602 GB, free: 16.73 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009898/22.54, allocations: 5.119 MB / 7.607 GB, free: 12.26 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.03924/22.58, allocations: 14.14 MB / 7.621 GB, free: 0.957 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/22.58, allocations: 4 kB / 7.621 GB, free: 0.9531 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005252/22.59, allocations: 1.014 MB / 7.622 GB, free: 128 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001645/22.59, allocations: 350.6 kB / 7.622 GB, free: 15.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/22.59, allocations: 70.66 kB / 7.622 GB, free: 15.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009483/22.6, allocations: 8.935 MB / 7.631 GB, free: 6.723 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/22.6, allocations: 2.844 kB / 7.631 GB, free: 6.723 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9815/23.58, allocations: 10.17 MB / 7.641 GB, free: 103 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00727/23.59, allocations: 1.544 MB / 7.642 GB, free: 102.9 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003177/23.59, allocations: 28.53 kB / 7.642 GB, free: 102.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009173/23.6, allocations: 0.5326 MB / 7.643 GB, free: 102.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/23.6, allocations: 293.7 kB / 7.643 GB, free: 102.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007747/23.6, allocations: 175.8 kB / 7.643 GB, free: 102.9 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01264/23.62, allocations: 3.975 MB / 7.647 GB, free: 102.7 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.423e-06/23.62, allocations: 0 / 7.647 GB, free: 102.7 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.03119/23.65, allocations: 4.103 MB / 7.651 GB, free: 102.7 MB / 1.042 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 (458): * Single equations (assignments): 445 * 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.0393/23.69, allocations: 18.47 MB / 7.669 GB, free: 97.28 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01941/23.71, allocations: 9.173 MB / 7.678 GB, free: 96.42 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.305e-05/23.71, allocations: 5.625 kB / 7.678 GB, free: 96.42 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00616/23.71, allocations: 3.159 MB / 7.681 GB, free: 95.9 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02438/23.74, allocations: 3.611 MB / 7.685 GB, free: 95.81 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06128/23.8, allocations: 17.19 MB / 7.702 GB, free: 92.78 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008912/23.81, allocations: 5.699 MB / 7.707 GB, free: 91.87 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02064/23.83, allocations: 5.088 MB / 7.712 GB, free: 91.8 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007277/23.84, allocations: 3.545 MB / 7.716 GB, free: 91.79 MB / 1.042 GB Notification: Performance of SimCode: time 4.338e-06/23.84, allocations: 0 / 7.716 GB, free: 91.79 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3912/24.23, allocations: 242.7 MB / 7.953 GB, free: 21.82 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/24.23, allocations: 180.8 kB / 7.953 GB, free: 21.62 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/37.05, allocations: 0 / 7.953 GB, free: 21.62 MB / 1.042 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)