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.308/1.308, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009475/0.0009476, allocations: 172.6 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205 MB / 0.576 GB, free: 20.98 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.0006968/0.0006967, allocations: 95.03 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 12.27 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4791/0.6361, allocations: 168.6 MB / 1.061 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004914/0.6411, allocations: 4.397 MB / 1.065 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.6416, allocations: 20.78 kB / 1.065 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.6424, allocations: 311.5 kB / 1.065 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.6444, allocations: 1.039 MB / 1.066 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.6461, allocations: 0.7462 MB / 1.067 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.6479, allocations: 1.935 MB / 1.069 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005568/0.6485, allocations: 415.2 kB / 1.069 GB, free: 1.691 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.6494, allocations: 0.5559 MB / 1.07 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.6505, allocations: 493.8 kB / 1.07 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.6506, allocations: 25.5 kB / 1.071 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.6523, allocations: 1.009 MB / 1.071 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.6525, allocations: 192.5 kB / 1.072 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.6529, allocations: 304.9 kB / 1.072 GB, free: 1.672 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.6543, allocations: 1.165 MB / 1.073 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6543, allocations: 0.75 kB / 1.073 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6543, allocations: 0 / 1.073 GB, free: 1.609 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6543, allocations: 1.094 kB / 1.073 GB, free: 1.609 MB / 0.698 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.001555/0.6559, allocations: 0.854 MB / 1.074 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.6559, allocations: 9.094 kB / 1.074 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.656, allocations: 89.73 kB / 1.074 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.6575, allocations: 273.8 kB / 1.074 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.6584, allocations: 497.9 kB / 1.075 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.6587, allocations: 96.3 kB / 1.075 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.6588, allocations: 43.78 kB / 1.075 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.6601, allocations: 0.659 MB / 1.076 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6601, allocations: 0 / 1.076 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.6602, allocations: 21.03 kB / 1.076 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.6602, allocations: 20.78 kB / 1.076 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.6616, allocations: 0.5937 MB / 1.076 GB, free: 16.54 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003663/0.6653, allocations: 2.315 MB / 1.078 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/0.6662, allocations: 311.6 kB / 1.079 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.6667, allocations: 193.4 kB / 1.079 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.6668, allocations: 5.859 kB / 1.079 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.6668, allocations: 38.41 kB / 1.079 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.6668, allocations: 4 kB / 1.079 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.005049/0.6719, allocations: 1.179 MB / 1.08 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.6719, allocations: 81.36 kB / 1.08 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.6725, allocations: 0.5672 MB / 1.081 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.6726, allocations: 27.42 kB / 1.081 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.6728, allocations: 301.2 kB / 1.081 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.6728, allocations: 52.03 kB / 1.081 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.6729, allocations: 29.08 kB / 1.081 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.673, allocations: 357.9 kB / 1.081 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.6735, allocations: 206.9 kB / 1.082 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/0.6741, allocations: 299.3 kB / 1.082 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.6751, allocations: 466.6 kB / 1.082 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6751, allocations: 3.312 kB / 1.082 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002461/0.6776, allocations: 0.7811 MB / 1.083 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6776, allocations: 4.812 kB / 1.083 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6777, allocations: 7.281 kB / 1.083 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.6782, allocations: 190.1 kB / 1.083 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.6786, allocations: 81.8 kB / 1.083 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.6827, allocations: 2.193 MB / 1.086 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.6836, allocations: 92.81 kB / 1.086 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.6836, allocations: 18.3 kB / 1.086 GB, free: 12.72 MB / 0.7136 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.6839, allocations: 201.8 kB / 1.086 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6841, allocations: 58.17 kB / 1.086 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.6842, allocations: 51.55 kB / 1.086 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6842, allocations: 1.062 kB / 1.086 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.6842, allocations: 0.9375 kB / 1.086 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.6842, allocations: 0 / 1.086 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.6877, allocations: 1.19 MB / 1.087 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6877, allocations: 192 / 1.087 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000299/0.688, allocations: 56.25 kB / 1.087 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/0.6886, allocations: 186.1 kB / 1.087 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.6887, allocations: 5.234 kB / 1.087 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/0.6916, allocations: 2.05 MB / 1.089 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6916, allocations: 4.062 kB / 1.089 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.694, allocations: 0.7618 MB / 1.09 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/0.6942, allocations: 171.9 kB / 1.09 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.568e-05/0.6943, allocations: 3.312 kB / 1.09 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.6949, allocations: 69.28 kB / 1.09 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.695, allocations: 13.5 kB / 1.09 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.695, allocations: 19.64 kB / 1.09 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004111/0.6955, allocations: 411.8 kB / 1.091 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6955, allocations: 5.75 kB / 1.091 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006276/0.6961, allocations: 172 kB / 1.091 GB, free: 10.43 MB / 0.7136 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002857/0.699, allocations: 1.37 MB / 1.092 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.701, allocations: 0.6502 MB / 1.093 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.701, allocations: 3.094 kB / 1.093 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.7017, allocations: 317 kB / 1.093 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.7032, allocations: 305 kB / 1.094 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.7146, allocations: 5.496 MB / 1.099 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.715, allocations: 0.8645 MB / 1.1 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005494/0.7156, allocations: 105.7 kB / 1.1 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.7158, allocations: 170.6 kB / 1.1 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/0.7158, allocations: 0 / 1.1 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/0.8551, allocations: 16.03 MB / 1.116 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003191/0.8555, allocations: 310.6 kB / 1.116 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.22, allocations: 6.438 kB / 1.116 GB, free: 2.652 MB / 0.7136 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)