Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009666/0.0009666, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9685/0.9685, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.845/1.845, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.482e-05, allocations: 7.578 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1267/0.1267, allocations: 147.7 MB / 0.9043 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.1307, allocations: 3.483 MB / 0.9077 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.131, allocations: 27.75 kB / 0.9077 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.1315, allocations: 186.6 kB / 0.9079 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1328, allocations: 0.9401 MB / 0.9088 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.1337, allocations: 0.6351 MB / 0.9094 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1352, allocations: 1.714 MB / 0.9111 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.1357, allocations: 471 kB / 0.9115 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.1371, allocations: 0.9336 MB / 0.9124 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.1376, allocations: 0.4908 MB / 0.9129 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.1377, allocations: 67.94 kB / 0.913 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.1382, allocations: 343.1 kB / 0.9133 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.1384, allocations: 295.2 kB / 0.9136 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1386, allocations: 291.4 kB / 0.9139 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.1393, allocations: 0.7943 MB / 0.9146 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1393, allocations: 4 kB / 0.9146 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1393, allocations: 0 / 0.9146 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1394, allocations: 0 / 0.9146 GB, free: 7.941 MB / 0.8698 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.001001/0.1404, allocations: 0.9043 MB / 0.9155 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1404, allocations: 12.03 kB / 0.9155 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005492/0.1409, allocations: 220.4 kB / 0.9157 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.1414, allocations: 402.4 kB / 0.9161 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1414, allocations: 41.44 kB / 0.9162 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.1415, allocations: 63.92 kB / 0.9162 GB, free: 6.266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.142, allocations: 0.7762 MB / 0.917 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.142, allocations: 0 / 0.917 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1421, allocations: 20 kB / 0.917 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1421, allocations: 21.31 kB / 0.917 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.1423, allocations: 191.9 kB / 0.9172 GB, free: 5.152 MB / 0.8698 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.001432/0.1438, allocations: 1.232 MB / 0.9184 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.144, allocations: 172 kB / 0.9186 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.144, allocations: 47.41 kB / 0.9186 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.144, allocations: 11.94 kB / 0.9186 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1441, allocations: 38.56 kB / 0.9187 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.1441, allocations: 0 / 0.9187 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.0005764/0.1446, allocations: 260.7 kB / 0.9189 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1447, allocations: 81.11 kB / 0.919 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.1449, allocations: 371.1 kB / 0.9194 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1449, allocations: 29.7 kB / 0.9194 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.145, allocations: 312.6 kB / 0.9197 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.1451, allocations: 75.36 kB / 0.9197 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.1451, allocations: 65.97 kB / 0.9198 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.1452, allocations: 358.7 kB / 0.9202 GB, free: 2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.673e-05/0.1453, allocations: 31.47 kB / 0.9202 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.1454, allocations: 152.2 kB / 0.9203 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1455, allocations: 179.1 kB / 0.9205 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1455, allocations: 3.938 kB / 0.9205 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000276/0.1458, allocations: 235.7 kB / 0.9207 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1458, allocations: 11.98 kB / 0.9207 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1458, allocations: 0 / 0.9207 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.146, allocations: 70.16 kB / 0.9208 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1461, allocations: 63.91 kB / 0.9209 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1475, allocations: 2.528 MB / 0.9233 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1477, allocations: 39.73 kB / 0.9234 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1477, allocations: 8 kB / 0.9234 GB, free: 14.41 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1478, allocations: 136.5 kB / 0.9235 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.1478, allocations: 31.95 kB / 0.9235 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.1479, allocations: 47.62 kB / 0.9236 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1479, allocations: 4 kB / 0.9236 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1479, allocations: 3.984 kB / 0.9236 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002308/0.1481, allocations: 372.5 kB / 0.924 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.1485, allocations: 499.6 kB / 0.9244 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1485, allocations: 3.984 kB / 0.9244 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.1486, allocations: 39.92 kB / 0.9245 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.1487, allocations: 50.55 kB / 0.9245 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1487, allocations: 4 kB / 0.9245 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006995/0.1494, allocations: 1.329 MB / 0.9258 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1494, allocations: 7.938 kB / 0.9258 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.1496, allocations: 302.3 kB / 0.9261 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1497, allocations: 63.66 kB / 0.9262 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.1498, allocations: 4 kB / 0.9262 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1499, allocations: 12 kB / 0.9262 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.15, allocations: 31.8 kB / 0.9262 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.15, allocations: 7.984 kB / 0.9262 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000108/0.1501, allocations: 148.7 kB / 0.9264 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.1501, allocations: 0 / 0.9264 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003526/0.1505, allocations: 215.6 kB / 0.9266 GB, free: 10.89 MB / 0.8855 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/0.1506, allocations: 128.2 kB / 0.9267 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.151, allocations: 369.8 kB / 0.9271 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.151, allocations: 8 kB / 0.9271 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.1511, allocations: 194 kB / 0.9272 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.1517, allocations: 290.1 kB / 0.9275 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1528, allocations: 0.8928 MB / 0.9284 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.1529, allocations: 149.5 kB / 0.9285 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.153, allocations: 72.16 kB / 0.9286 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.1534, allocations: 247 kB / 0.9288 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.1534, allocations: 0 / 0.9288 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of Templates: time 0.0121/0.1655, allocations: 11.33 MB / 0.9399 GB, free: 13.42 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.361326358746737]