Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.SimpleHouse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.281/4.281, allocations: 433.2 MB / 440.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.083e-05, allocations: 3.312 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2385, allocations: 98.75 MB / 0.6289 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.871/8.11, allocations: 2.52 GB / 3.149 GB, free: 117.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/8.11, allocations: 95.58 kB / 3.149 GB, free: 117.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 20.72/28.83, allocations: 3.557 GB / 6.706 GB, free: 83.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.815e-06/28.83, allocations: 0 / 6.706 GB, free: 83.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001553/28.83, allocations: 177.5 kB / 6.706 GB, free: 83.64 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1196 * Number of variables: 1196 Notification: Performance of Generate backend data structure: time 0.03059/28.87, allocations: 6.698 MB / 6.713 GB, free: 80.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/28.87, allocations: 10.38 kB / 6.713 GB, free: 80.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03019/28.9, allocations: 2.808 MB / 6.716 GB, free: 80.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03723/28.93, allocations: 7.697 MB / 6.723 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004841/28.93, allocations: 154.9 kB / 6.723 GB, free: 79.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/28.94, allocations: 297.3 kB / 6.723 GB, free: 79.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0177/28.95, allocations: 4.897 MB / 6.728 GB, free: 79.24 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02154/28.98, allocations: 5.121 MB / 6.733 GB, free: 78.48 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003363/28.98, allocations: 11.81 kB / 6.733 GB, free: 78.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/28.98, allocations: 6.312 kB / 6.733 GB, free: 78.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002987/28.98, allocations: 197.8 kB / 6.733 GB, free: 78.47 MB / 0.9636 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.07046/29.05, allocations: 25.93 MB / 6.759 GB, free: 66.22 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/29.06, allocations: 4.039 MB / 6.763 GB, free: 66.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00709/29.07, allocations: 2.232 MB / 6.765 GB, free: 66.02 MB / 0.9636 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 evalFunc (simulation): time 0.03707/29.11, allocations: 8.825 MB / 6.774 GB, free: 63.87 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00641/29.11, allocations: 1.993 MB / 6.775 GB, free: 63.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005151/29.12, allocations: 381 kB / 6.776 GB, free: 63.61 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=296): time 2.735e-05/29.12, allocations: 3.5 kB / 6.776 GB, free: 63.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=296): time 0.0237/29.14, allocations: 4.418 MB / 6.78 GB, free: 63.12 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/29.14, allocations: 420.2 kB / 6.781 GB, free: 62.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/29.15, allocations: 3.99 MB / 6.784 GB, free: 62.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/29.16, allocations: 33.14 kB / 6.785 GB, free: 62.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005095/29.16, allocations: 2.961 MB / 6.787 GB, free: 61.28 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00207/29.16, allocations: 0.9704 MB / 6.788 GB, free: 60.63 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006528/29.16, allocations: 0 / 6.788 GB, free: 60.63 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003963/29.16, allocations: 453 kB / 6.789 GB, free: 60.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004868/29.17, allocations: 1.555 MB / 6.79 GB, free: 60.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/29.17, allocations: 2.749 MB / 6.793 GB, free: 58.95 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/29.19, allocations: 2.473 MB / 6.795 GB, free: 58.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.709e-05/29.19, allocations: 12.66 kB / 6.795 GB, free: 58.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.02954/29.22, allocations: 5.656 MB / 6.801 GB, free: 58.45 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003083/29.22, allocations: 13.33 MB / 6.814 GB, free: 44.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/29.22, allocations: 29 kB / 6.814 GB, free: 44.52 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/29.23, allocations: 0.6236 MB / 6.815 GB, free: 44.47 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008484/29.24, allocations: 0.8984 MB / 6.815 GB, free: 44.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009858/29.25, allocations: 5.492 MB / 6.821 GB, free: 40.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/29.26, allocations: 405.3 kB / 6.821 GB, free: 40.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/29.26, allocations: 199 kB / 6.821 GB, free: 40.44 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/29.26, allocations: 7.125 kB / 6.821 GB, free: 40.44 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0257/29.28, allocations: 4.889 MB / 6.826 GB, free: 40.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001772/29.28, allocations: 32.28 kB / 6.826 GB, free: 40.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005051/29.29, allocations: 0.6402 MB / 6.827 GB, free: 40.26 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008002/29.3, allocations: 0.8606 MB / 6.828 GB, free: 40.26 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009822/29.31, allocations: 5.511 MB / 6.833 GB, free: 36.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009885/29.32, allocations: 368.5 kB / 6.833 GB, free: 36.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001519/29.32, allocations: 192.7 kB / 6.834 GB, free: 36.22 MB / 0.9636 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 435 * Array equations: 3 * Algorithm blocks: 2 * 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: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002654/29.32, allocations: 213.9 kB / 6.834 GB, free: 36.1 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02294/29.34, allocations: 4.237 MB / 6.838 GB, free: 35.61 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002945/29.35, allocations: 0.5421 MB / 6.838 GB, free: 35.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02624/29.37, allocations: 4.897 MB / 6.843 GB, free: 35.01 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/29.37, allocations: 35.05 kB / 6.843 GB, free: 35.01 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/29.37, allocations: 3.953 kB / 6.843 GB, free: 35 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02013/29.39, allocations: 3.895 MB / 6.847 GB, free: 34.68 MB / 0.9636 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.04235/29.44, allocations: 9.617 MB / 6.856 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-05/29.44, allocations: 5.328 kB / 6.856 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006804/29.44, allocations: 0.6341 MB / 6.857 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/29.45, allocations: 451.1 kB / 6.858 GB, free: 33.85 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009304/29.45, allocations: 61.36 kB / 6.858 GB, free: 33.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/29.46, allocations: 11.24 MB / 6.869 GB, free: 24.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/29.46, allocations: 3.781 kB / 6.869 GB, free: 24.41 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02747/29.49, allocations: 7.14 MB / 6.876 GB, free: 23.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005366/29.49, allocations: 1.112 MB / 6.877 GB, free: 22.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002841/29.49, allocations: 13.03 kB / 6.877 GB, free: 22.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009392/29.5, allocations: 358.1 kB / 6.877 GB, free: 22.66 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/29.51, allocations: 229.5 kB / 6.877 GB, free: 22.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009989/29.51, allocations: 138.5 kB / 6.877 GB, free: 22.65 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00907/29.52, allocations: 2.968 MB / 6.88 GB, free: 22.47 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.114e-06/29.52, allocations: 0 / 6.88 GB, free: 22.47 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02659/29.54, allocations: 3.729 MB / 6.884 GB, free: 21.92 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTim1.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.04354/29.59, allocations: 15.43 MB / 6.899 GB, free: 16.29 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0218/29.61, allocations: 7.095 MB / 6.906 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/29.61, allocations: 4.688 kB / 6.906 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007109/29.62, allocations: 2.582 MB / 6.908 GB, free: 13.87 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02117/29.64, allocations: 2.349 MB / 6.911 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04331/29.68, allocations: 10.86 MB / 6.921 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008063/29.69, allocations: 3.784 MB / 6.925 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0231/29.71, allocations: 2.753 MB / 6.928 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01341/29.72, allocations: 2.974 MB / 6.931 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.703e-06/29.72, allocations: 0 / 6.931 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/31.16, allocations: 193.9 MB / 7.12 GB, free: 93.79 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/31.16, allocations: 159.7 kB / 7.12 GB, free: 93.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/46.23, allocations: 0 / 7.12 GB, free: 93.6 MB / 0.9792 GB