Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.185/2.185, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001389/0.001388, allocations: 187.3 kB / 315.4 MB, free: 4.012 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.046/2.046, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 93.95 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.481e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.163/8.364, allocations: 2.547 GB / 3.431 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/8.364, allocations: 93.69 kB / 3.431 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.03/30.39, allocations: 4.001 GB / 7.432 GB, free: 74.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.354e-06/30.39, allocations: 0 / 7.432 GB, free: 74.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002016/30.39, allocations: 232 kB / 7.433 GB, free: 74.34 MB / 1.01 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.04084/30.43, allocations: 8.568 MB / 7.441 GB, free: 70.64 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/30.43, allocations: 11.5 kB / 7.441 GB, free: 70.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/30.46, allocations: 2.631 MB / 7.443 GB, free: 70.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0414/30.5, allocations: 10.01 MB / 7.453 GB, free: 68.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005413/30.5, allocations: 224.8 kB / 7.453 GB, free: 68.59 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003443/30.51, allocations: 420.8 kB / 7.454 GB, free: 68.58 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02539/30.53, allocations: 7.481 MB / 7.461 GB, free: 65.84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/30.56, allocations: 7.818 MB / 7.469 GB, free: 59.17 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005599/30.56, allocations: 15.45 kB / 7.469 GB, free: 59.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00349/30.57, allocations: 8 kB / 7.469 GB, free: 59.15 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004828/30.57, allocations: 300.5 kB / 7.469 GB, free: 58.87 MB / 1.01 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.09349/30.66, allocations: 36.32 MB / 7.505 GB, free: 21.4 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/30.67, allocations: 6.923 MB / 7.511 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007532/30.68, allocations: 2.993 MB / 7.514 GB, free: 11.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00228/30.68, allocations: 1.06 MB / 7.515 GB, free: 9.914 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008796/30.69, allocations: 2.893 MB / 7.518 GB, free: 6.996 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006478/30.7, allocations: 256.7 kB / 7.518 GB, free: 6.742 MB / 1.01 GB Notification: Performance of pre-optimization done (n=459): time 4.622e-05/30.7, allocations: 0 / 7.518 GB, free: 6.742 MB / 1.01 GB Notification: Performance of matching and sorting (n=470): time 0.05457/30.75, allocations: 12.6 MB / 7.531 GB, free: 10.07 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/30.75, allocations: 338.4 kB / 7.531 GB, free: 9.668 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01678/30.77, allocations: 5.176 MB / 7.536 GB, free: 4.504 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001548/30.77, allocations: 37.7 kB / 7.536 GB, free: 4.461 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.007365/30.78, allocations: 3.731 MB / 7.54 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.9425/31.72, allocations: 1.548 MB / 7.541 GB, free: 101.4 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007257/31.72, allocations: 0 / 7.541 GB, free: 101.4 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005778/31.72, allocations: 498.5 kB / 7.542 GB, free: 101.1 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00738/31.73, allocations: 2.147 MB / 7.544 GB, free: 101 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00938/31.74, allocations: 3.354 MB / 7.547 GB, free: 99.8 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/31.75, allocations: 2.92 MB / 7.55 GB, free: 99.75 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.926e-05/31.75, allocations: 6.812 kB / 7.55 GB, free: 99.75 MB / 1.026 GB Notification: Performance of matching and sorting (n=605) (initialization): time 0.02785/31.78, allocations: 6.661 MB / 7.556 GB, free: 99.58 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002463/31.78, allocations: 10.66 MB / 7.567 GB, free: 88.53 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/31.78, allocations: 24.47 kB / 7.567 GB, free: 88.53 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/31.79, allocations: 0.56 MB / 7.567 GB, free: 88.49 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/31.8, allocations: 1.066 MB / 7.568 GB, free: 88.49 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/31.81, allocations: 8.911 MB / 7.577 GB, free: 83.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/31.83, allocations: 0.6074 MB / 7.578 GB, free: 83.05 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/31.83, allocations: 201.5 kB / 7.578 GB, free: 83.05 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/31.83, allocations: 3.828 kB / 7.578 GB, free: 83.05 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02449/31.85, allocations: 5.991 MB / 7.584 GB, free: 82.81 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/31.85, allocations: 26.23 kB / 7.584 GB, free: 82.81 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/31.86, allocations: 0.5623 MB / 7.584 GB, free: 82.77 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009583/31.87, allocations: 1.056 MB / 7.585 GB, free: 82.77 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/31.88, allocations: 9.775 MB / 7.595 GB, free: 76.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/31.9, allocations: 0.6002 MB / 7.596 GB, free: 76.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001662/31.9, allocations: 198.2 kB / 7.596 GB, free: 76.59 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.002512/31.9, allocations: 219.6 kB / 7.596 GB, free: 76.48 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02118/31.92, allocations: 5.559 MB / 7.601 GB, free: 76.08 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003502/31.93, allocations: 0.663 MB / 7.602 GB, free: 75.73 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/31.95, allocations: 6.405 MB / 7.608 GB, free: 75.35 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.693e-05/31.95, allocations: 50.16 kB / 7.608 GB, free: 75.35 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/31.95, allocations: 3.688 kB / 7.608 GB, free: 75.35 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01825/31.97, allocations: 5.29 MB / 7.613 GB, free: 74.86 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.05066/32.02, allocations: 14.57 MB / 7.628 GB, free: 73.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/32.02, allocations: 0 / 7.628 GB, free: 73.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01041/32.03, allocations: 1.045 MB / 7.629 GB, free: 73.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/32.03, allocations: 353.1 kB / 7.629 GB, free: 73.55 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001241/32.03, allocations: 72.58 kB / 7.629 GB, free: 73.55 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/32.05, allocations: 8.96 MB / 7.638 GB, free: 66.21 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/32.05, allocations: 4.828 kB / 7.638 GB, free: 66.21 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02844/32.07, allocations: 9.452 MB / 7.647 GB, free: 65.23 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007698/32.08, allocations: 1.568 MB / 7.649 GB, free: 64.79 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003266/32.09, allocations: 28.06 kB / 7.649 GB, free: 64.79 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01263/32.1, allocations: 0.5935 MB / 7.649 GB, free: 64.78 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/32.1, allocations: 296 kB / 7.65 GB, free: 64.77 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001018/32.1, allocations: 179.3 kB / 7.65 GB, free: 64.77 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01234/32.11, allocations: 3.96 MB / 7.654 GB, free: 64.56 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.61e-07/32.11, allocations: 2.5 kB / 7.654 GB, free: 64.56 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03915/32.15, allocations: 4.235 MB / 7.658 GB, free: 64.56 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.04514/32.2, allocations: 18.13 MB / 7.675 GB, free: 59.46 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02629/32.22, allocations: 9.769 MB / 7.685 GB, free: 58.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/32.22, allocations: 7.594 kB / 7.685 GB, free: 58.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008852/32.23, allocations: 3.286 MB / 7.688 GB, free: 57.77 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03185/32.27, allocations: 3.622 MB / 7.692 GB, free: 57.72 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06023/32.33, allocations: 17.34 MB / 7.709 GB, free: 54.68 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/32.34, allocations: 5.744 MB / 7.714 GB, free: 53.78 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03167/32.37, allocations: 5.14 MB / 7.719 GB, free: 53.71 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009973/32.38, allocations: 3.582 MB / 7.723 GB, free: 53.71 MB / 1.026 GB Notification: Performance of SimCode: time 1.453e-06/32.38, allocations: 0 / 7.723 GB, free: 53.71 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.562/33.94, allocations: 249.2 MB / 7.966 GB, free: 135.1 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/33.94, allocations: 176.2 kB / 7.966 GB, free: 135 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.37/51.31, allocations: 0 / 7.966 GB, free: 135 MB / 1.073 GB