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.688/1.688, allocations: 288.4 MB / 303.3 MB, free: 8.121 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.0009824/0.0009825, allocations: 178.9 kB / 372 MB, free: 10.26 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.764/1.764, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008089/0.0008087, allocations: 105.2 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004216, allocations: 15.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2693, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.8862/1.156, allocations: 155.4 MB / 1.131 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006792/1.162, allocations: 3.999 MB / 1.135 GB, free: 396 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007349/1.163, allocations: 19.19 kB / 1.135 GB, free: 388 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000846/1.164, allocations: 240.8 kB / 1.136 GB, free: 284 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.002882/1.167, allocations: 0.8907 MB / 1.136 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/1.169, allocations: 0.5623 MB / 1.137 GB, free: 15.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002274/1.171, allocations: 1.976 MB / 1.139 GB, free: 15.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006205/1.172, allocations: 423.1 kB / 1.139 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/1.173, allocations: 0.5699 MB / 1.14 GB, free: 15.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000802/1.174, allocations: 0.5332 MB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/1.174, allocations: 24.81 kB / 1.14 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/1.175, allocations: 405.6 kB / 1.141 GB, free: 15 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/1.175, allocations: 229.8 kB / 1.141 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001606/1.175, allocations: 172.4 kB / 1.141 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009341/1.176, allocations: 0.8807 MB / 1.142 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.176, allocations: 6.875 kB / 1.142 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.234e-06/1.176, allocations: 0 / 1.142 GB, free: 14.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.451e-05/1.176, allocations: 0 / 1.142 GB, free: 14.42 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.001765/1.178, allocations: 0.9025 MB / 1.143 GB, free: 13.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.178, allocations: 12.64 kB / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.178, allocations: 98.08 kB / 1.143 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/1.179, allocations: 169.4 kB / 1.143 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/1.18, allocations: 0.4997 MB / 1.144 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/1.18, allocations: 46.97 kB / 1.144 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/1.18, allocations: 52.62 kB / 1.144 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/1.181, allocations: 0.6532 MB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.181, allocations: 1.344 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/1.181, allocations: 23.84 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/1.181, allocations: 25.73 kB / 1.144 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000992/1.182, allocations: 0.518 MB / 1.145 GB, free: 12.97 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.003498/1.186, allocations: 2.302 MB / 1.147 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/1.186, allocations: 267.2 kB / 1.147 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/1.187, allocations: 147.2 kB / 1.148 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/1.187, allocations: 3.906 kB / 1.148 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.187, allocations: 36.5 kB / 1.148 GB, free: 11.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.335e-06/1.187, allocations: 0 / 1.148 GB, free: 11.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.00189/1.189, allocations: 0.6842 MB / 1.148 GB, free: 10.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/1.189, allocations: 81.77 kB / 1.148 GB, free: 10.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/1.19, allocations: 0.5445 MB / 1.149 GB, free: 10.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/1.19, allocations: 32.17 kB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/1.19, allocations: 336.5 kB / 1.149 GB, free: 10.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/1.19, allocations: 80.89 kB / 1.149 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/1.19, allocations: 4.875 kB / 1.149 GB, free: 10.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.19, allocations: 363.6 kB / 1.15 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/1.19, allocations: 131 kB / 1.15 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/1.191, allocations: 224.5 kB / 1.15 GB, free: 9.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/1.191, allocations: 169.8 kB / 1.15 GB, free: 9.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.191, allocations: 1.281 kB / 1.15 GB, free: 9.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00104/1.192, allocations: 0.5018 MB / 1.151 GB, free: 9.727 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.192, allocations: 5.969 kB / 1.151 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.192, allocations: 7.266 kB / 1.151 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/1.193, allocations: 95.16 kB / 1.151 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/1.193, allocations: 71.98 kB / 1.151 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/1.196, allocations: 3.098 MB / 1.154 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/1.197, allocations: 70.3 kB / 1.154 GB, free: 6.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.197, allocations: 15.06 kB / 1.154 GB, free: 6.93 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.0003469/1.197, allocations: 210.6 kB / 1.154 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/1.197, allocations: 59.89 kB / 1.154 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.145e-05/1.197, allocations: 58.62 kB / 1.154 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.197, allocations: 2.469 kB / 1.154 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.197, allocations: 0 / 1.154 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007633/1.198, allocations: 0.5456 MB / 1.155 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/1.2, allocations: 0.924 MB / 1.156 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.2, allocations: 0 / 1.156 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.2, allocations: 46.5 kB / 1.156 GB, free: 5.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/1.2, allocations: 64.09 kB / 1.156 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/1.2, allocations: 9.172 kB / 1.156 GB, free: 5.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/1.202, allocations: 1.682 MB / 1.157 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.202, allocations: 4.938 kB / 1.157 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00075/1.203, allocations: 452.8 kB / 1.158 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/1.203, allocations: 178.1 kB / 1.158 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/1.203, allocations: 4.625 kB / 1.158 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/1.203, allocations: 31.5 kB / 1.158 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/1.204, allocations: 18.34 kB / 1.158 GB, free: 4.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/1.204, allocations: 21.11 kB / 1.158 GB, free: 4.012 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005061/1.204, allocations: 389.1 kB / 1.159 GB, free: 3.875 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.143e-06/1.204, allocations: 0 / 1.159 GB, free: 3.875 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007896/1.205, allocations: 204.6 kB / 1.159 GB, free: 3.859 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.001308/1.206, allocations: 1.044 MB / 1.16 GB, free: 3.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001032/1.207, allocations: 0.5366 MB / 1.16 GB, free: 2.777 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.207, allocations: 5.125 kB / 1.16 GB, free: 2.773 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/1.208, allocations: 257.5 kB / 1.161 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/1.21, allocations: 363 kB / 1.161 GB, free: 2.512 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/1.215, allocations: 3.116 MB / 1.164 GB, free: 1.039 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/1.216, allocations: 0.9082 MB / 1.165 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007054/1.217, allocations: 107.8 kB / 1.165 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/1.217, allocations: 189.1 kB / 1.165 GB, free: 184 kB / 0.698 GB Notification: Performance of SimCode: time 2.284e-06/1.217, allocations: 0 / 1.165 GB, free: 184 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/1.259, allocations: 17.09 MB / 1.182 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/1.259, allocations: 286.8 kB / 1.182 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.745, allocations: 0 / 1.182 GB, free: 7.637 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)