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.0008753/0.0008753, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.0009442/0.0009442, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 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.9107/0.9107, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.781/1.781, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.563e-06/1.563e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.022e-05, allocations: 4.984 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1264/0.1264, allocations: 148.4 MB / 0.9564 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004232/0.1307, allocations: 3.439 MB / 0.9598 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.131, allocations: 31.75 kB / 0.9598 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.1316, allocations: 194.5 kB / 0.96 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.133, allocations: 0.9324 MB / 0.9609 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.1339, allocations: 0.6234 MB / 0.9615 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1353, allocations: 1.722 MB / 0.9632 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.1359, allocations: 464.4 kB / 0.9636 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1372, allocations: 0.9586 MB / 0.9646 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.1377, allocations: 0.5064 MB / 0.9651 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.981e-05/0.1378, allocations: 64 kB / 0.9651 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.1383, allocations: 355.1 kB / 0.9655 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.1385, allocations: 299.1 kB / 0.9657 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1387, allocations: 291.4 kB / 0.966 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1397, allocations: 0.7905 MB / 0.9668 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1397, allocations: 0 / 0.9668 GB, free: 2.246 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1397, allocations: 4 kB / 0.9668 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.1397, allocations: 0 / 0.9668 GB, free: 2.242 MB / 0.9167 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.001095/0.1408, allocations: 1.053 MB / 0.9678 GB, free: 1.148 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1409, allocations: 16.03 kB / 0.9678 GB, free: 1.133 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00055/0.1414, allocations: 216.1 kB / 0.968 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.1419, allocations: 492.8 kB / 0.9685 GB, free: 428 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.1419, allocations: 49.44 kB / 0.9686 GB, free: 380 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.142, allocations: 56 kB / 0.9686 GB, free: 324 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1426, allocations: 0.8052 MB / 0.9694 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1426, allocations: 3.938 kB / 0.9694 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1427, allocations: 24 kB / 0.9694 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.1427, allocations: 21.31 kB / 0.9694 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.143, allocations: 227.7 kB / 0.9697 GB, free: 15.14 MB / 0.9323 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.001634/0.1447, allocations: 1.53 MB / 0.9712 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1449, allocations: 159.3 kB / 0.9713 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.145, allocations: 67.02 kB / 0.9714 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.145, allocations: 7.938 kB / 0.9714 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.145, allocations: 41.39 kB / 0.9714 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.145, allocations: 0 / 0.9714 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.0007162/0.1457, allocations: 338.7 kB / 0.9717 GB, free: 12.92 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1458, allocations: 81.11 kB / 0.9718 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.1461, allocations: 442.6 kB / 0.9722 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1461, allocations: 29.7 kB / 0.9723 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1463, allocations: 398.5 kB / 0.9727 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1463, allocations: 75.36 kB / 0.9727 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.1464, allocations: 75.62 kB / 0.9728 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1465, allocations: 0.5235 MB / 0.9733 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.1466, allocations: 48.62 kB / 0.9734 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1467, allocations: 187.4 kB / 0.9735 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.1469, allocations: 221.7 kB / 0.9737 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1469, allocations: 0 / 0.9737 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004165/0.1473, allocations: 312.5 kB / 0.974 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1474, allocations: 11.98 kB / 0.9741 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1474, allocations: 0 / 0.9741 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.1475, allocations: 59.34 kB / 0.9741 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.1477, allocations: 72.19 kB / 0.9742 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.1496, allocations: 3.652 MB / 0.9777 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.1498, allocations: 39.77 kB / 0.9778 GB, free: 6.309 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1498, allocations: 8 kB / 0.9778 GB, free: 6.301 MB / 0.9323 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.0001224/0.1499, allocations: 180.5 kB / 0.978 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.15, allocations: 51.72 kB / 0.978 GB, free: 6.062 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.15, allocations: 47.67 kB / 0.9781 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.15, allocations: 12.02 kB / 0.9781 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.15, allocations: 192 / 0.9781 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002979/0.1503, allocations: 411.6 kB / 0.9785 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005676/0.1509, allocations: 0.6779 MB / 0.9791 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1509, allocations: 0 / 0.9791 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.151, allocations: 43.86 kB / 0.9792 GB, free: 4.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/0.1511, allocations: 47.72 kB / 0.9792 GB, free: 4.699 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1511, allocations: 11.92 kB / 0.9792 GB, free: 4.688 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.1522, allocations: 1.906 MB / 0.9811 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1522, allocations: 0 / 0.9811 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1525, allocations: 368.3 kB / 0.9814 GB, free: 2.273 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.1526, allocations: 79.61 kB / 0.9815 GB, free: 2.195 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1526, allocations: 4.188 kB / 0.9815 GB, free: 2.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1528, allocations: 17.88 kB / 0.9815 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.1528, allocations: 23.95 kB / 0.9816 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.1529, allocations: 15.98 kB / 0.9816 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001799/0.153, allocations: 283.1 kB / 0.9818 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.153, allocations: 0 / 0.9818 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003742/0.1534, allocations: 215.6 kB / 0.982 GB, free: 1.648 MB / 0.9323 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.0001837/0.1536, allocations: 143.1 kB / 0.9822 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.154, allocations: 0.5107 MB / 0.9827 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.154, allocations: 3.75 kB / 0.9827 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1542, allocations: 262 kB / 0.9829 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.1549, allocations: 267.8 kB / 0.9832 GB, free: 420 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.156, allocations: 0.896 MB / 0.9841 GB, free: 15.47 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.1561, allocations: 153.2 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.1563, allocations: 80.08 kB / 0.9843 GB, free: 15.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.1563, allocations: 32.5 kB / 0.9843 GB, free: 15.19 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.1563, allocations: 0 / 0.9843 GB, free: 15.19 MB / 0.948 GB Notification: Performance of Templates: time 0.01242/0.1688, allocations: 11.25 MB / 0.9953 GB, free: 4.203 MB / 0.948 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.217322621960193]