Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.477/1.477, allocations: 252 MB / 267 MB, free: 10.97 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.001082/0.001082, allocations: 188 kB / 326.6 MB, free: 2.211 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.09/2.09, allocations: 205.4 MB / 0.5777 GB, free: 20.49 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.0009541/0.0009538, allocations: 97.97 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 8.938 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2544, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1813/0.4358, allocations: 155.6 MB / 1.052 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007377/0.4432, allocations: 4.086 MB / 1.056 GB, free: 60 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.4443, allocations: 19.88 kB / 1.056 GB, free: 40 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.5826/1.027, allocations: 242.7 kB / 1.056 GB, free: 4.348 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.00331/1.03, allocations: 0.9408 MB / 1.057 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/1.032, allocations: 0.5916 MB / 1.058 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003487/1.036, allocations: 2.159 MB / 1.06 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.037, allocations: 453.1 kB / 1.061 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/1.039, allocations: 0.6202 MB / 1.061 GB, free: 4.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/1.04, allocations: 0.5563 MB / 1.062 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/1.04, allocations: 26.94 kB / 1.062 GB, free: 4.301 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/1.042, allocations: 408 kB / 1.062 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/1.042, allocations: 257.3 kB / 1.062 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005786/1.043, allocations: 174.6 kB / 1.063 GB, free: 20.27 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/1.044, allocations: 0.942 MB / 1.063 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.044, allocations: 0 / 1.063 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.474e-06/1.044, allocations: 0 / 1.063 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.044, allocations: 0 / 1.063 GB, free: 20.2 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00191/1.046, allocations: 0.9232 MB / 1.064 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.046, allocations: 10.52 kB / 1.064 GB, free: 19.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/1.046, allocations: 103.3 kB / 1.064 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/1.047, allocations: 168.6 kB / 1.065 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/1.048, allocations: 0.5177 MB / 1.065 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/1.048, allocations: 49.66 kB / 1.065 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/1.048, allocations: 50.25 kB / 1.065 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/1.05, allocations: 0.6724 MB / 1.066 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.05, allocations: 0 / 1.066 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/1.05, allocations: 26.31 kB / 1.066 GB, free: 19.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/1.05, allocations: 28.08 kB / 1.066 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.051, allocations: 0.5221 MB / 1.066 GB, free: 19.18 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.00402/1.055, allocations: 2.338 MB / 1.069 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/1.056, allocations: 253.8 kB / 1.069 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/1.056, allocations: 131.3 kB / 1.069 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/1.056, allocations: 6.516 kB / 1.069 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.056, allocations: 44.84 kB / 1.069 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/1.056, allocations: 0 / 1.069 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.001912/1.058, allocations: 0.6829 MB / 1.07 GB, free: 17.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.058, allocations: 83.3 kB / 1.07 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/1.059, allocations: 0.5667 MB / 1.07 GB, free: 17.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/1.059, allocations: 33.02 kB / 1.07 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/1.06, allocations: 337.9 kB / 1.071 GB, free: 17.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.114e-05/1.06, allocations: 77.75 kB / 1.071 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/1.06, allocations: 7.781 kB / 1.071 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001908/1.06, allocations: 358.6 kB / 1.071 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/1.06, allocations: 132.9 kB / 1.071 GB, free: 16.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/1.061, allocations: 232 kB / 1.072 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/1.061, allocations: 166 kB / 1.072 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.061, allocations: 1 kB / 1.072 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001098/1.062, allocations: 0.5057 MB / 1.072 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.062, allocations: 6.438 kB / 1.072 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.062, allocations: 3.125 kB / 1.072 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/1.063, allocations: 103.2 kB / 1.072 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.063, allocations: 69.56 kB / 1.072 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/1.066, allocations: 3.109 MB / 1.075 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/1.067, allocations: 72.14 kB / 1.075 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.067, allocations: 14.41 kB / 1.075 GB, free: 14.18 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004953/1.068, allocations: 222.4 kB / 1.076 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/1.068, allocations: 57.62 kB / 1.076 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/1.068, allocations: 61.61 kB / 1.076 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.068, allocations: 2.438 kB / 1.076 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.068, allocations: 3.953 kB / 1.076 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007837/1.069, allocations: 0.5306 MB / 1.076 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.07, allocations: 0.9413 MB / 1.077 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.07, allocations: 8.906 kB / 1.077 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/1.07, allocations: 49.84 kB / 1.077 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/1.071, allocations: 64.8 kB / 1.077 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/1.071, allocations: 6.281 kB / 1.077 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/1.072, allocations: 1.686 MB / 1.079 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.072, allocations: 1 kB / 1.079 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/1.073, allocations: 444.1 kB / 1.079 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/1.073, allocations: 182.8 kB / 1.08 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/1.073, allocations: 16.75 kB / 1.08 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/1.074, allocations: 40.95 kB / 1.08 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/1.074, allocations: 18.05 kB / 1.08 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/1.074, allocations: 17.69 kB / 1.08 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006282/1.075, allocations: 408.6 kB / 1.08 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.1e-07/1.075, allocations: 1.469 kB / 1.08 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008803/1.076, allocations: 214.1 kB / 1.08 GB, free: 11.61 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/1.077, allocations: 1.045 MB / 1.081 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009632/1.078, allocations: 0.5374 MB / 1.082 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.078, allocations: 1.875 kB / 1.082 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/1.078, allocations: 255.8 kB / 1.082 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/1.08, allocations: 367.8 kB / 1.082 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/1.085, allocations: 3.189 MB / 1.086 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/1.086, allocations: 0.9152 MB / 1.086 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006975/1.087, allocations: 110.9 kB / 1.087 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.087, allocations: 193.5 kB / 1.087 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.087, allocations: 1.125 kB / 1.087 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/1.123, allocations: 17.64 MB / 1.104 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/1.123, allocations: 282 kB / 1.104 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.655/3.779, allocations: 5.688 kB / 1.104 GB, free: 5.312 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)