Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.0009913/0.0009913, allocations: 166.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001083/0.001083, allocations: 98.41 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.761e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2743, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/6.622, allocations: 2.189 GB / 3.081 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/6.622, allocations: 83.95 kB / 3.081 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.547/8.169, allocations: 379.9 MB / 3.452 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.825e-06/8.169, allocations: 0 / 3.452 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001012/8.169, allocations: 8 kB / 3.452 GB, free: 152.6 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.003467/8.173, allocations: 0.8842 MB / 3.453 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 8.176e-05/8.173, allocations: 16.03 kB / 3.453 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002616/8.173, allocations: 82.52 kB / 3.453 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/8.175, allocations: 255 kB / 3.453 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/8.176, allocations: 488.1 kB / 3.454 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/8.176, allocations: 96.94 kB / 3.454 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/8.176, allocations: 44 kB / 3.454 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/8.177, allocations: 0.5539 MB / 3.454 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/8.177, allocations: 4 kB / 3.454 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/8.177, allocations: 23.94 kB / 3.454 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/8.178, allocations: 17 kB / 3.455 GB, free: 150 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/8.178, allocations: 411.8 kB / 3.455 GB, free: 149.6 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.003712/8.182, allocations: 2.184 MB / 3.457 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/8.182, allocations: 158.5 kB / 3.457 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/8.182, allocations: 84.83 kB / 3.457 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/8.183, allocations: 4 kB / 3.457 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/8.183, allocations: 34.5 kB / 3.457 GB, free: 147 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/8.183, allocations: 0 / 3.457 GB, free: 147 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001684/8.184, allocations: 433.8 kB / 3.458 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/8.184, allocations: 77.11 kB / 3.458 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/8.185, allocations: 0.4929 MB / 3.458 GB, free: 146 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/8.185, allocations: 33.7 kB / 3.458 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/8.185, allocations: 295.3 kB / 3.459 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/8.185, allocations: 55.38 kB / 3.459 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/8.185, allocations: 4 kB / 3.459 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001874/8.186, allocations: 362.7 kB / 3.459 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/8.186, allocations: 99.97 kB / 3.459 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/8.186, allocations: 200 kB / 3.459 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/8.186, allocations: 119.9 kB / 3.459 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/8.186, allocations: 0 / 3.459 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00167/8.188, allocations: 0.5617 MB / 3.46 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/8.188, allocations: 8 kB / 3.46 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/8.188, allocations: 0 / 3.46 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/8.188, allocations: 136.8 kB / 3.46 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/8.189, allocations: 79.88 kB / 3.46 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/8.191, allocations: 1.82 MB / 3.462 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/8.192, allocations: 95.39 kB / 3.462 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/8.192, allocations: 19.92 kB / 3.462 GB, free: 141.9 MB / 0.8698 GB 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.000171/8.192, allocations: 120.9 kB / 3.462 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/8.192, allocations: 59.38 kB / 3.462 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/8.193, allocations: 56.25 kB / 3.462 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/8.193, allocations: 0 / 3.462 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/8.193, allocations: 0 / 3.462 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/8.193, allocations: 0 / 3.462 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/8.195, allocations: 0.9494 MB / 3.463 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/8.195, allocations: 0 / 3.463 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/8.195, allocations: 44.03 kB / 3.463 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/8.195, allocations: 136.7 kB / 3.463 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/8.195, allocations: 3.953 kB / 3.463 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/8.197, allocations: 1.796 MB / 3.465 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/8.197, allocations: 0 / 3.465 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/8.199, allocations: 0.563 MB / 3.466 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/8.199, allocations: 160.5 kB / 3.466 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/8.199, allocations: 8 kB / 3.466 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/8.2, allocations: 59.94 kB / 3.466 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/8.2, allocations: 19.92 kB / 3.466 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/8.2, allocations: 19.98 kB / 3.466 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004847/8.201, allocations: 393.5 kB / 3.466 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.201, allocations: 0 / 3.466 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001239/8.202, allocations: 255.7 kB / 3.467 GB, free: 137 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.003777/8.206, allocations: 2.144 MB / 3.469 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008733/8.206, allocations: 362.8 kB / 3.469 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/8.206, allocations: 0.6875 kB / 3.469 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/8.207, allocations: 218.5 kB / 3.469 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/8.208, allocations: 301.9 kB / 3.469 GB, free: 134 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/8.211, allocations: 0.8611 MB / 3.47 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/8.212, allocations: 0.8858 MB / 3.471 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004813/8.212, allocations: 100.5 kB / 3.471 GB, free: 132 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/8.212, allocations: 159.4 kB / 3.471 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of SimCode: time 7.32e-07/8.212, allocations: 0 / 3.471 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/8.266, allocations: 34.15 MB / 3.505 GB, free: 97.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/8.266, allocations: 250.6 kB / 3.505 GB, free: 97.64 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/11.69, allocations: 2.75 kB / 3.505 GB, free: 97.64 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)