Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.455/2.455, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001579/0.001579, allocations: 182.4 kB / 315.4 MB, free: 4.016 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001118/0.001118, allocations: 91.73 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.193e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.242/7.478, allocations: 2.189 GB / 3.073 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/7.478, allocations: 94.05 kB / 3.073 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/9.554, allocations: 375.4 MB / 3.44 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.455e-06/9.554, allocations: 0 / 3.44 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.17e-05/9.554, allocations: 19.98 kB / 3.44 GB, free: 137.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002208/9.556, allocations: 0.8845 MB / 3.441 GB, free: 137 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/9.556, allocations: 12.03 kB / 3.441 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/9.558, allocations: 247 kB / 3.441 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/9.56, allocations: 0.4964 MB / 3.442 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/9.561, allocations: 81.25 kB / 3.442 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/9.561, allocations: 28 kB / 3.442 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001024/9.562, allocations: 386.5 kB / 3.442 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/9.563, allocations: 0.4895 MB / 3.443 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/9.563, allocations: 0 / 3.443 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/9.563, allocations: 11.94 kB / 3.443 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/9.563, allocations: 21.3 kB / 3.443 GB, free: 135.1 MB / 0.8698 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.00531/9.568, allocations: 2.028 MB / 3.445 GB, free: 133 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/9.569, allocations: 146.5 kB / 3.445 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/9.569, allocations: 80.83 kB / 3.445 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/9.569, allocations: 4 kB / 3.445 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/9.569, allocations: 42.72 kB / 3.445 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.655e-06/9.569, allocations: 0 / 3.445 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.002772/9.572, allocations: 413.8 kB / 3.445 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/9.572, allocations: 81.11 kB / 3.445 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/9.572, allocations: 357.1 kB / 3.446 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.046e-05/9.572, allocations: 25.7 kB / 3.446 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/9.573, allocations: 315.2 kB / 3.446 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/9.573, allocations: 35.45 kB / 3.446 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/9.573, allocations: 0 / 3.446 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.808e-05/9.573, allocations: 350.8 kB / 3.446 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/9.573, allocations: 99.97 kB / 3.447 GB, free: 131 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/9.573, allocations: 195.9 kB / 3.447 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/9.574, allocations: 127.9 kB / 3.447 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/9.574, allocations: 0 / 3.447 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002852/9.577, allocations: 0.5258 MB / 3.447 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/9.577, allocations: 12.05 kB / 3.447 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.577, allocations: 4 kB / 3.447 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/9.577, allocations: 128.7 kB / 3.447 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/9.578, allocations: 87.88 kB / 3.448 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/9.581, allocations: 1.736 MB / 3.449 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/9.582, allocations: 71.7 kB / 3.449 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/9.582, allocations: 19.98 kB / 3.449 GB, free: 128 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "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: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002336/9.583, allocations: 109.4 kB / 3.449 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00263/9.585, allocations: 421.7 kB / 3.45 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/9.586, allocations: 43.53 kB / 3.45 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/9.586, allocations: 43.41 kB / 3.45 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/9.586, allocations: 0 / 3.45 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/9.586, allocations: 0 / 3.45 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/9.586, allocations: 7.938 kB / 3.45 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/9.589, allocations: 0.8953 MB / 3.451 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/9.589, allocations: 4 kB / 3.451 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/9.59, allocations: 44.03 kB / 3.451 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/9.59, allocations: 132.9 kB / 3.451 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/9.59, allocations: 8 kB / 3.451 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/9.593, allocations: 1.721 MB / 3.453 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/9.593, allocations: 0 / 3.453 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/9.596, allocations: 0.5476 MB / 3.453 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/9.597, allocations: 148.6 kB / 3.453 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/9.597, allocations: 11.98 kB / 3.453 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009927/9.598, allocations: 59.94 kB / 3.453 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/9.598, allocations: 11.98 kB / 3.453 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/9.598, allocations: 15.92 kB / 3.453 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004071/9.598, allocations: 278.9 kB / 3.454 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/9.598, allocations: 0 / 3.454 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001384/9.6, allocations: 243.5 kB / 3.454 GB, free: 123 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004794/9.605, allocations: 2.255 MB / 3.456 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009575/9.606, allocations: 353.8 kB / 3.456 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/9.606, allocations: 4.25 kB / 3.457 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/9.606, allocations: 213.6 kB / 3.457 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/9.608, allocations: 179.4 kB / 3.457 GB, free: 120 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/9.612, allocations: 0.8084 MB / 3.458 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/9.613, allocations: 0.8815 MB / 3.459 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006782/9.613, allocations: 91.22 kB / 3.459 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/9.614, allocations: 155.4 kB / 3.459 GB, free: 118 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/9.614, allocations: 0 / 3.459 GB, free: 118 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/9.687, allocations: 19.38 MB / 3.478 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/9.687, allocations: 200.6 kB / 3.478 GB, free: 98.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.259/12.95, allocations: 0 / 3.478 GB, free: 98.38 MB / 0.8698 GB