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.792/1.792, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.001086/0.001087, allocations: 185.7 kB / 372 MB, free: 10.25 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.813/1.813, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008146/0.0008145, allocations: 98.91 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004094, allocations: 11.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7606/0.9991, allocations: 155.4 MB / 1.131 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008207/1.007, allocations: 3.996 MB / 1.135 GB, free: 64 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/1.009, allocations: 16.28 kB / 1.135 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/1.01, allocations: 234.7 kB / 1.136 GB, free: 15.97 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003913/1.014, allocations: 0.7366 MB / 1.136 GB, free: 15.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003033/1.017, allocations: 0.6011 MB / 1.137 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003107/1.021, allocations: 1.514 MB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009028/1.021, allocations: 357.2 kB / 1.139 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/1.023, allocations: 0.5523 MB / 1.139 GB, free: 15.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/1.025, allocations: 437.7 kB / 1.14 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/1.025, allocations: 21.69 kB / 1.14 GB, free: 14.9 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/1.026, allocations: 0.6138 MB / 1.14 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/1.027, allocations: 178.2 kB / 1.14 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/1.027, allocations: 142.8 kB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/1.028, allocations: 0.7897 MB / 1.141 GB, free: 14.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.028, allocations: 0 / 1.141 GB, free: 14.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/1.028, allocations: 7.062 kB / 1.141 GB, free: 14.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.028, allocations: 0 / 1.141 GB, free: 14.46 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001756/1.03, allocations: 0.8471 MB / 1.142 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.03, allocations: 9.812 kB / 1.142 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/1.03, allocations: 85.42 kB / 1.142 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/1.032, allocations: 280 kB / 1.142 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/1.033, allocations: 480 kB / 1.143 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/1.033, allocations: 95.72 kB / 1.143 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.506e-05/1.033, allocations: 40.81 kB / 1.143 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.034, allocations: 0.631 MB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.034, allocations: 7.672 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/1.034, allocations: 21.39 kB / 1.144 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.035, allocations: 23.77 kB / 1.144 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/1.036, allocations: 0.5782 MB / 1.144 GB, free: 12.94 MB / 0.698 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.004484/1.041, allocations: 2.303 MB / 1.147 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/1.042, allocations: 313.5 kB / 1.147 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/1.042, allocations: 184.6 kB / 1.147 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/1.042, allocations: 8.031 kB / 1.147 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.042, allocations: 36.89 kB / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/1.042, allocations: 0 / 1.147 GB, free: 11.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.005628/1.048, allocations: 1.186 MB / 1.148 GB, free: 10.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/1.048, allocations: 82.77 kB / 1.148 GB, free: 10.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/1.049, allocations: 0.5477 MB / 1.149 GB, free: 10.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/1.049, allocations: 31.55 kB / 1.149 GB, free: 10.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/1.049, allocations: 297.2 kB / 1.149 GB, free: 10.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/1.049, allocations: 41.53 kB / 1.149 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/1.049, allocations: 7.531 kB / 1.149 GB, free: 10.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.049, allocations: 351.3 kB / 1.15 GB, free: 9.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/1.05, allocations: 213 kB / 1.15 GB, free: 9.855 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/1.051, allocations: 298.6 kB / 1.15 GB, free: 9.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/1.052, allocations: 220.5 kB / 1.15 GB, free: 9.648 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.052, allocations: 1.188 kB / 1.15 GB, free: 9.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00301/1.055, allocations: 0.7844 MB / 1.151 GB, free: 9.379 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/1.055, allocations: 6.469 kB / 1.151 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.055, allocations: 2.312 kB / 1.151 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/1.055, allocations: 193.7 kB / 1.151 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/1.056, allocations: 84.44 kB / 1.151 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/1.061, allocations: 2.191 MB / 1.153 GB, free: 7.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/1.061, allocations: 90.34 kB / 1.153 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/1.061, allocations: 12.53 kB / 1.154 GB, free: 7.703 MB / 0.698 GB 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 () * 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 (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.0004009/1.062, allocations: 198.4 kB / 1.154 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.062, allocations: 49.12 kB / 1.154 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/1.062, allocations: 51.92 kB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.062, allocations: 1.062 kB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.062, allocations: 3.562 kB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.062, allocations: 1.312 kB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/1.065, allocations: 1.199 MB / 1.155 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.065, allocations: 1.062 kB / 1.155 GB, free: 6.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/1.066, allocations: 48.39 kB / 1.155 GB, free: 6.879 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/1.066, allocations: 184.2 kB / 1.155 GB, free: 6.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.066, allocations: 9.828 kB / 1.155 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003794/1.07, allocations: 2.055 MB / 1.157 GB, free: 5.316 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.07, allocations: 5.094 kB / 1.157 GB, free: 5.312 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/1.073, allocations: 0.7533 MB / 1.158 GB, free: 4.957 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/1.074, allocations: 170.2 kB / 1.158 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/1.074, allocations: 7.094 kB / 1.158 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/1.074, allocations: 68.78 kB / 1.158 GB, free: 4.793 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/1.074, allocations: 17.66 kB / 1.158 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/1.074, allocations: 15.58 kB / 1.158 GB, free: 4.777 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006939/1.075, allocations: 389 kB / 1.159 GB, free: 4.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.075, allocations: 0 / 1.159 GB, free: 4.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009153/1.076, allocations: 178.2 kB / 1.159 GB, free: 4.625 MB / 0.698 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 (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.003461/1.08, allocations: 1.375 MB / 1.16 GB, free: 3.703 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.082, allocations: 0.643 MB / 1.161 GB, free: 3.441 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.082, allocations: 3.938 kB / 1.161 GB, free: 3.438 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007944/1.083, allocations: 325.7 kB / 1.161 GB, free: 3.266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.084, allocations: 284.5 kB / 1.161 GB, free: 3.176 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009975/1.094, allocations: 3.551 MB / 1.165 GB, free: 1.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/1.095, allocations: 0.86 MB / 1.166 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006722/1.096, allocations: 108.6 kB / 1.166 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.096, allocations: 162 kB / 1.166 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.096, allocations: 0 / 1.166 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/1.135, allocations: 15.99 MB / 1.181 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/1.136, allocations: 287.3 kB / 1.182 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.589, allocations: 0 / 1.182 GB, free: 8.66 MB / 0.7136 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)