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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001143, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009113/0.0009114, allocations: 12 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6061/0.6071, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1805/0.7877, allocations: 155.6 MB / 0.8801 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.7946, allocations: 4.097 MB / 0.8841 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009422/0.7956, allocations: 15.88 kB / 0.8841 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009584/0.7965, allocations: 250.5 kB / 0.8843 GB, free: 11.04 MB / 0.7012 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.003111/0.7996, allocations: 0.9408 MB / 0.8852 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.8016, allocations: 0.5877 MB / 0.8858 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003707/0.8053, allocations: 2.168 MB / 0.8879 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.8063, allocations: 450.3 kB / 0.8884 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.8079, allocations: 0.6302 MB / 0.889 GB, free: 6.266 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.809, allocations: 0.5527 MB / 0.8895 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.809, allocations: 31.94 kB / 0.8895 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.8105, allocations: 403.1 kB / 0.8899 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.8109, allocations: 251.3 kB / 0.8902 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.8111, allocations: 177.3 kB / 0.8903 GB, free: 4.859 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.8124, allocations: 0.9391 MB / 0.8913 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.8124, allocations: 0 / 0.8913 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of FrontEnd: time 5.02e-06/0.8124, allocations: 0 / 0.8913 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8124, allocations: 0 / 0.8913 GB, free: 3.918 MB / 0.7012 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.00232/0.8147, allocations: 0.9273 MB / 0.8922 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8148, allocations: 8.031 kB / 0.8922 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009808/0.8158, allocations: 171 kB / 0.8923 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/0.8166, allocations: 0.5057 MB / 0.8928 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.8167, allocations: 45.3 kB / 0.8929 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/0.8168, allocations: 55.98 kB / 0.8929 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.8179, allocations: 0.6806 MB / 0.8936 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.8179, allocations: 0 / 0.8936 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.818, allocations: 24 kB / 0.8936 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.8181, allocations: 25.31 kB / 0.8936 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008777/0.8189, allocations: 0.5281 MB / 0.8942 GB, free: 0.8477 MB / 0.7012 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.003244/0.8222, allocations: 2.332 MB / 0.8964 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.8227, allocations: 258.7 kB / 0.8967 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.8229, allocations: 142.5 kB / 0.8968 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.823, allocations: 0 / 0.8968 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.823, allocations: 42.56 kB / 0.8969 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.823, allocations: 0 / 0.8969 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001504/0.8245, allocations: 0.6836 MB / 0.8975 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.8246, allocations: 85.06 kB / 0.8976 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.8252, allocations: 0.5654 MB / 0.8982 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.8253, allocations: 33.7 kB / 0.8982 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.8255, allocations: 339.3 kB / 0.8985 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.8256, allocations: 78.92 kB / 0.8986 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.8256, allocations: 8 kB / 0.8986 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8258, allocations: 358.8 kB / 0.8989 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.826, allocations: 124.6 kB / 0.8991 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.8263, allocations: 237.2 kB / 0.8993 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.8266, allocations: 169.4 kB / 0.8994 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8266, allocations: 0 / 0.8994 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008578/0.8275, allocations: 0.5069 MB / 0.8999 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8275, allocations: 4 kB / 0.8999 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8275, allocations: 4 kB / 0.8999 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.8279, allocations: 93.66 kB / 0.9 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.8282, allocations: 79.89 kB / 0.9001 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.8314, allocations: 3.096 MB / 0.9031 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/0.8319, allocations: 70.23 kB / 0.9032 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.8319, allocations: 16 kB / 0.9032 GB, free: 6.961 MB / 0.7169 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.0003472/0.8323, allocations: 233.5 kB / 0.9034 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.8324, allocations: 63.28 kB / 0.9035 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.8325, allocations: 56.67 kB / 0.9036 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8325, allocations: 4 kB / 0.9036 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.8325, allocations: 0 / 0.9036 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007301/0.8333, allocations: 0.5306 MB / 0.9041 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.8346, allocations: 0.9436 MB / 0.905 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.8346, allocations: 0 / 0.905 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.8348, allocations: 43.97 kB / 0.905 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/0.835, allocations: 68.88 kB / 0.9051 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.835, allocations: 0 / 0.9051 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.8366, allocations: 1.687 MB / 0.9068 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.8366, allocations: 7.953 kB / 0.9068 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.8373, allocations: 445.3 kB / 0.9072 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.8375, allocations: 184.3 kB / 0.9074 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/0.8376, allocations: 7.984 kB / 0.9074 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.8381, allocations: 42.59 kB / 0.9074 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.8382, allocations: 19.88 kB / 0.9074 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.8382, allocations: 15.98 kB / 0.9074 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005156/0.8387, allocations: 406.8 kB / 0.9078 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8387, allocations: 0 / 0.9078 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007685/0.8395, allocations: 211.7 kB / 0.908 GB, free: 1.699 MB / 0.7169 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.0004242/0.84, allocations: 176.4 kB / 0.9082 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008987/0.8409, allocations: 0.5312 MB / 0.9087 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8409, allocations: 448 / 0.9087 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.8412, allocations: 260.6 kB / 0.909 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.8428, allocations: 358.8 kB / 0.9093 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4319/1.275, allocations: 1.227 MB / 0.9105 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007349/1.275, allocations: 0.9174 MB / 0.9114 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009472/1.276, allocations: 113.7 kB / 0.9115 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/1.277, allocations: 40.2 kB / 0.9116 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.515e-06/1.277, allocations: 0 / 0.9116 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.03044/1.307, allocations: 12.47 MB / 0.9237 GB, free: 176 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) Environment - environmentSimulation: