Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.4 MB / 303.6 MB, free: 8.09 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.0009937/0.0009937, allocations: 186.8 kB / 372.3 MB, free: 10.14 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.252/1.252, allocations: 205.4 MB / 0.631 GB, free: 9.914 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.000756/0.000756, allocations: 100.7 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 20.94 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.466/0.6195, allocations: 155.4 MB / 1.132 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.6242, allocations: 4.013 MB / 1.136 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003801/0.6246, allocations: 18.75 kB / 1.136 GB, free: 336 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.6253, allocations: 277.1 kB / 1.136 GB, free: 232 kB / 0.6823 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.001977/0.6273, allocations: 1.06 MB / 1.137 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.6286, allocations: 0.6204 MB / 1.138 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.6301, allocations: 1.982 MB / 1.14 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004828/0.6306, allocations: 469.5 kB / 1.14 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000714/0.6313, allocations: 0.5703 MB / 1.141 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.6321, allocations: 0.5285 MB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.6322, allocations: 25.59 kB / 1.141 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.6336, allocations: 0.8934 MB / 1.142 GB, free: 14.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.6338, allocations: 228.3 kB / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.6341, allocations: 367.3 kB / 1.143 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000856/0.635, allocations: 0.9306 MB / 1.144 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.635, allocations: 1.859 kB / 1.144 GB, free: 13.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.635, allocations: 1.125 kB / 1.144 GB, free: 13.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.635, allocations: 0 / 1.144 GB, free: 13.89 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001356/0.6364, allocations: 0.903 MB / 1.145 GB, free: 13.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.6364, allocations: 12.88 kB / 1.145 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.6365, allocations: 98.17 kB / 1.145 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008596/0.6374, allocations: 168.9 kB / 1.145 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000646/0.638, allocations: 0.5136 MB / 1.145 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.6381, allocations: 40.41 kB / 1.145 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.6382, allocations: 50.25 kB / 1.145 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.6391, allocations: 0.6559 MB / 1.146 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6392, allocations: 0 / 1.146 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.6392, allocations: 26.47 kB / 1.146 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.6393, allocations: 21.25 kB / 1.146 GB, free: 12.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.6401, allocations: 0.5231 MB / 1.147 GB, free: 12.43 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.002839/0.6429, allocations: 2.302 MB / 1.149 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.6434, allocations: 270 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.6436, allocations: 137.8 kB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.6437, allocations: 10.91 kB / 1.149 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6437, allocations: 38.12 kB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.6437, allocations: 1.859 kB / 1.149 GB, free: 10.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.001456/0.6452, allocations: 0.6804 MB / 1.15 GB, free: 10.44 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.6452, allocations: 80.48 kB / 1.15 GB, free: 10.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005907/0.6458, allocations: 0.5469 MB / 1.151 GB, free: 10.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.324e-05/0.6459, allocations: 33.98 kB / 1.151 GB, free: 10.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.6461, allocations: 333.4 kB / 1.151 GB, free: 9.902 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.6461, allocations: 72.94 kB / 1.151 GB, free: 9.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.6462, allocations: 7.406 kB / 1.151 GB, free: 9.848 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6463, allocations: 361.8 kB / 1.151 GB, free: 9.516 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.6466, allocations: 131.6 kB / 1.151 GB, free: 9.496 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.6469, allocations: 223 kB / 1.152 GB, free: 9.371 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.6474, allocations: 350 kB / 1.152 GB, free: 9.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6474, allocations: 1.062 kB / 1.152 GB, free: 9.234 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008551/0.6483, allocations: 0.5036 MB / 1.152 GB, free: 9.078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6483, allocations: 12.3 kB / 1.152 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6483, allocations: 2.375 kB / 1.152 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002826/0.6486, allocations: 97.86 kB / 1.153 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.6489, allocations: 73.16 kB / 1.153 GB, free: 9.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.6515, allocations: 3.103 MB / 1.156 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005034/0.652, allocations: 72.06 kB / 1.156 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.6521, allocations: 12.28 kB / 1.156 GB, free: 6.27 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 (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.0002994/0.6524, allocations: 216.2 kB / 1.156 GB, free: 6.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6525, allocations: 56.16 kB / 1.156 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/0.6526, allocations: 60.66 kB / 1.156 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6526, allocations: 2.375 kB / 1.156 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6526, allocations: 4 kB / 1.156 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006741/0.6533, allocations: 0.5414 MB / 1.157 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6545, allocations: 0.9225 MB / 1.157 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6545, allocations: 1.531 kB / 1.157 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.6547, allocations: 52.66 kB / 1.158 GB, free: 5.148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001797/0.6549, allocations: 63.28 kB / 1.158 GB, free: 5.129 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.6549, allocations: 5.312 kB / 1.158 GB, free: 5.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.6563, allocations: 1.681 MB / 1.159 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6563, allocations: 1.531 kB / 1.159 GB, free: 3.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.6569, allocations: 451.3 kB / 1.16 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.6571, allocations: 168.3 kB / 1.16 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.6572, allocations: 5.656 kB / 1.16 GB, free: 3.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.6577, allocations: 35.38 kB / 1.16 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.6577, allocations: 28.66 kB / 1.16 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.6578, allocations: 16.33 kB / 1.16 GB, free: 3.352 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004042/0.6582, allocations: 394.8 kB / 1.16 GB, free: 3.211 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6582, allocations: 4 kB / 1.16 GB, free: 3.207 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006226/0.6588, allocations: 204.8 kB / 1.161 GB, free: 3.188 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 (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.001054/0.6599, allocations: 1.031 MB / 1.162 GB, free: 2.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007933/0.6607, allocations: 0.5419 MB / 1.162 GB, free: 2.113 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6607, allocations: 1.156 kB / 1.162 GB, free: 2.113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.661, allocations: 258.3 kB / 1.162 GB, free: 1.969 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.6627, allocations: 354.1 kB / 1.163 GB, free: 1.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.6669, allocations: 3.121 MB / 1.166 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.6673, allocations: 0.9082 MB / 1.167 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004352/0.6678, allocations: 115.9 kB / 1.167 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.668, allocations: 195.5 kB / 1.167 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.668, allocations: 0 / 1.167 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7955/1.463, allocations: 17.25 MB / 1.184 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.464, allocations: 268.2 kB / 1.184 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/4.513, allocations: 4 kB / 1.184 GB, free: 6.836 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)