Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 176.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 90.62 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.279e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7483, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/5.9, allocations: 2.07 GB / 3.035 GB, free: 42.77 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.9, allocations: 85.3 kB / 3.035 GB, free: 42.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.476/7.376, allocations: 385.7 MB / 3.412 GB, free: 46.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/7.377, allocations: 0 / 3.412 GB, free: 46.14 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.52e-05/7.377, allocations: 15.98 kB / 3.412 GB, free: 46.12 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002584/7.379, allocations: 0.8767 MB / 3.413 GB, free: 45.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/7.379, allocations: 8.031 kB / 3.413 GB, free: 45.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/7.381, allocations: 271 kB / 3.413 GB, free: 44.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/7.382, allocations: 472.6 kB / 3.413 GB, free: 44.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/7.383, allocations: 89.23 kB / 3.413 GB, free: 44.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/7.383, allocations: 24 kB / 3.413 GB, free: 44.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007506/7.383, allocations: 382.5 kB / 3.414 GB, free: 43.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/7.384, allocations: 0.4895 MB / 3.414 GB, free: 43.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/7.384, allocations: 0 / 3.414 GB, free: 43.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/7.384, allocations: 7.938 kB / 3.414 GB, free: 43.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/7.384, allocations: 17.31 kB / 3.414 GB, free: 43.39 MB / 0.948 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.003572/7.388, allocations: 2.042 MB / 3.416 GB, free: 41.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/7.388, allocations: 146.5 kB / 3.416 GB, free: 41.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/7.388, allocations: 84.83 kB / 3.416 GB, free: 41.01 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/7.388, allocations: 7.984 kB / 3.416 GB, free: 41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/7.389, allocations: 34.56 kB / 3.416 GB, free: 40.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.425e-06/7.389, allocations: 4 kB / 3.416 GB, free: 40.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001774/7.39, allocations: 425.7 kB / 3.417 GB, free: 40.53 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/7.39, allocations: 77.11 kB / 3.417 GB, free: 40.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/7.391, allocations: 353.2 kB / 3.417 GB, free: 40.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/7.391, allocations: 25.7 kB / 3.417 GB, free: 40.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/7.391, allocations: 307.5 kB / 3.418 GB, free: 39.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/7.391, allocations: 43.39 kB / 3.418 GB, free: 39.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/7.391, allocations: 3.938 kB / 3.418 GB, free: 39.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/7.391, allocations: 350.7 kB / 3.418 GB, free: 39.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/7.391, allocations: 95.97 kB / 3.418 GB, free: 39.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/7.392, allocations: 194.9 kB / 3.418 GB, free: 39.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/7.392, allocations: 126.3 kB / 3.418 GB, free: 38.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/7.392, allocations: 0 / 3.418 GB, free: 38.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001593/7.393, allocations: 0.5332 MB / 3.419 GB, free: 38.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/7.393, allocations: 8 kB / 3.419 GB, free: 38.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.393, allocations: 0 / 3.419 GB, free: 38.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/7.394, allocations: 132.8 kB / 3.419 GB, free: 38.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/7.394, allocations: 79.88 kB / 3.419 GB, free: 38.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/7.396, allocations: 1.74 MB / 3.421 GB, free: 36.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/7.397, allocations: 71.78 kB / 3.421 GB, free: 36.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/7.397, allocations: 12 kB / 3.421 GB, free: 36.21 MB / 0.948 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: 10 * 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.0002408/7.397, allocations: 116.9 kB / 3.421 GB, free: 36.09 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001568/7.399, allocations: 421.8 kB / 3.421 GB, free: 35.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/7.399, allocations: 43.62 kB / 3.421 GB, free: 35.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/7.399, allocations: 43.28 kB / 3.421 GB, free: 35.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/7.399, allocations: 0 / 3.421 GB, free: 35.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/7.399, allocations: 0 / 3.421 GB, free: 35.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/7.399, allocations: 3.938 kB / 3.422 GB, free: 35.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/7.401, allocations: 0.8799 MB / 3.422 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/7.401, allocations: 8.031 kB / 3.422 GB, free: 34.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/7.402, allocations: 55.95 kB / 3.422 GB, free: 34.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003003/7.402, allocations: 124.8 kB / 3.423 GB, free: 34.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/7.402, allocations: 7.984 kB / 3.423 GB, free: 34.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/7.404, allocations: 1.74 MB / 3.424 GB, free: 32.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/7.404, allocations: 4 kB / 3.424 GB, free: 32.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/7.406, allocations: 0.5439 MB / 3.425 GB, free: 32.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/7.406, allocations: 152.6 kB / 3.425 GB, free: 31.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/7.406, allocations: 0 / 3.425 GB, free: 31.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/7.407, allocations: 63.92 kB / 3.425 GB, free: 31.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/7.407, allocations: 15.98 kB / 3.425 GB, free: 31.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/7.407, allocations: 11.98 kB / 3.425 GB, free: 31.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003217/7.407, allocations: 267 kB / 3.425 GB, free: 31.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.407, allocations: 0 / 3.425 GB, free: 31.49 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00124/7.408, allocations: 263.5 kB / 3.426 GB, free: 31.23 MB / 0.948 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.004175/7.413, allocations: 2.261 MB / 3.428 GB, free: 28.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008534/7.413, allocations: 349.5 kB / 3.428 GB, free: 28.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.413, allocations: 0 / 3.428 GB, free: 28.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/7.414, allocations: 205.6 kB / 3.428 GB, free: 28.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/7.415, allocations: 189.1 kB / 3.428 GB, free: 28.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/7.418, allocations: 0.8081 MB / 3.429 GB, free: 27.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/7.419, allocations: 0.8737 MB / 3.43 GB, free: 26.42 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004617/7.419, allocations: 79.23 kB / 3.43 GB, free: 26.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/7.42, allocations: 151.4 kB / 3.43 GB, free: 26.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/7.42, allocations: 0 / 3.43 GB, free: 26.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/7.47, allocations: 19.3 MB / 3.449 GB, free: 6.965 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/7.47, allocations: 219 kB / 3.449 GB, free: 6.664 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/10.26, allocations: 2.578 kB / 3.449 GB, free: 6.664 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)