Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.591/2.591, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001376/0.001376, allocations: 172.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009457/0.0009453, allocations: 98.75 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007325/0.0007327, allocations: 11.81 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2129, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.9594/1.172, allocations: 155.4 MB / 1.13 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008457/1.181, allocations: 4.011 MB / 1.134 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/1.182, allocations: 16.59 kB / 1.134 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/1.183, allocations: 234.6 kB / 1.134 GB, free: 15.98 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.004231/1.188, allocations: 0.9046 MB / 1.135 GB, free: 15.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/1.191, allocations: 0.5589 MB / 1.136 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003717/1.194, allocations: 1.976 MB / 1.138 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/1.196, allocations: 420.4 kB / 1.138 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/1.198, allocations: 0.5765 MB / 1.139 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/1.199, allocations: 0.5262 MB / 1.139 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/1.2, allocations: 25.53 kB / 1.139 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/1.202, allocations: 400.3 kB / 1.14 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005833/1.203, allocations: 231.6 kB / 1.14 GB, free: 14.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/1.203, allocations: 174.7 kB / 1.14 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/1.205, allocations: 0.8786 MB / 1.141 GB, free: 14.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/1.205, allocations: 0 / 1.141 GB, free: 14.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.477e-06/1.205, allocations: 0 / 1.141 GB, free: 14.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.464e-05/1.205, allocations: 1.312 kB / 1.141 GB, free: 14.51 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.00291/1.208, allocations: 0.9071 MB / 1.142 GB, free: 13.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.208, allocations: 13.75 kB / 1.142 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.21, allocations: 167.6 kB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/1.212, allocations: 0.5019 MB / 1.142 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/1.212, allocations: 37.75 kB / 1.142 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.212, allocations: 50.66 kB / 1.142 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.214, allocations: 0.6522 MB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/1.214, allocations: 0.875 kB / 1.143 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.214, allocations: 32.97 kB / 1.143 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.214, allocations: 22.72 kB / 1.143 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.216, allocations: 0.5244 MB / 1.144 GB, free: 13.49 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.006471/1.222, allocations: 2.296 MB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/1.223, allocations: 265.9 kB / 1.146 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004491/1.224, allocations: 143.7 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/1.224, allocations: 3.375 kB / 1.146 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/1.224, allocations: 35.78 kB / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.347e-06/1.224, allocations: 0 / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.002933/1.227, allocations: 0.6866 MB / 1.147 GB, free: 11.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.227, allocations: 80.08 kB / 1.147 GB, free: 11.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/1.228, allocations: 0.5459 MB / 1.148 GB, free: 11.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/1.228, allocations: 31.67 kB / 1.148 GB, free: 11.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/1.229, allocations: 342.6 kB / 1.148 GB, free: 10.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.229, allocations: 72.36 kB / 1.148 GB, free: 10.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/1.229, allocations: 5.156 kB / 1.148 GB, free: 10.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.229, allocations: 360.3 kB / 1.148 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/1.23, allocations: 129.6 kB / 1.148 GB, free: 10.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/1.23, allocations: 232.8 kB / 1.149 GB, free: 10.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/1.231, allocations: 165.8 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.231, allocations: 1.25 kB / 1.149 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001725/1.233, allocations: 0.5007 MB / 1.149 GB, free: 10.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.233, allocations: 14.58 kB / 1.149 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.233, allocations: 3.906 kB / 1.149 GB, free: 10.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/1.233, allocations: 90.66 kB / 1.149 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/1.234, allocations: 79.91 kB / 1.149 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/1.239, allocations: 3.096 MB / 1.153 GB, free: 7.492 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/1.24, allocations: 66.08 kB / 1.153 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/1.24, allocations: 14.83 kB / 1.153 GB, free: 7.457 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.0005329/1.24, allocations: 215.4 kB / 1.153 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/1.241, allocations: 60.83 kB / 1.153 GB, free: 7.293 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/1.241, allocations: 57.47 kB / 1.153 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.241, allocations: 7.25 kB / 1.153 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.241, allocations: 0 / 1.153 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/1.242, allocations: 0.5381 MB / 1.153 GB, free: 6.859 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/1.245, allocations: 0.9252 MB / 1.154 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.245, allocations: 5.188 kB / 1.154 GB, free: 6.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/1.245, allocations: 44.97 kB / 1.154 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/1.245, allocations: 61.47 kB / 1.154 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/1.245, allocations: 9.609 kB / 1.154 GB, free: 6.312 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/1.248, allocations: 1.692 MB / 1.156 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.248, allocations: 1.531 kB / 1.156 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.249, allocations: 445.4 kB / 1.157 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/1.25, allocations: 178.6 kB / 1.157 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.25, allocations: 5.094 kB / 1.157 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008405/1.251, allocations: 30 kB / 1.157 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.251, allocations: 20.06 kB / 1.157 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/1.251, allocations: 21.08 kB / 1.157 GB, free: 4.527 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007723/1.252, allocations: 389.3 kB / 1.157 GB, free: 4.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.252, allocations: 1.094 kB / 1.157 GB, free: 4.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001238/1.253, allocations: 201.5 kB / 1.157 GB, free: 4.375 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.000534/1.254, allocations: 166 kB / 1.158 GB, free: 4.254 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001554/1.255, allocations: 0.5366 MB / 1.158 GB, free: 3.961 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.255, allocations: 5.156 kB / 1.158 GB, free: 3.957 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/1.256, allocations: 260.7 kB / 1.158 GB, free: 3.812 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.259, allocations: 361.8 kB / 1.159 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/1.262, allocations: 1.191 MB / 1.16 GB, free: 2.953 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/1.263, allocations: 0.9012 MB / 1.161 GB, free: 2.172 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009525/1.264, allocations: 121 kB / 1.161 GB, free: 2.109 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/1.264, allocations: 39.5 kB / 1.161 GB, free: 2.102 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.264, allocations: 0 / 1.161 GB, free: 2.102 MB / 0.698 GB Notification: Performance of Templates: time 0.03546/1.299, allocations: 11.96 MB / 1.173 GB, free: 12.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)