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.0009208/0.0009208, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001017/0.001017, allocations: 173.5 kB / 24.87 MB, free: 8.832 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.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.847/1.847, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.874e-06/1.874e-06, allocations: 1.203 kB / 0.8127 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.435e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1327/0.1328, allocations: 145.6 MB / 0.9549 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.1368, allocations: 3.419 MB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.1371, allocations: 31.75 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1377, allocations: 190.6 kB / 0.9585 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.139, allocations: 0.9323 MB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.1398, allocations: 0.6273 MB / 0.96 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1411, allocations: 1.725 MB / 0.9617 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004806/0.1416, allocations: 468.4 kB / 0.9621 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1431, allocations: 0.944 MB / 0.9631 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.1437, allocations: 0.5103 MB / 0.9636 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.822e-05/0.1437, allocations: 64 kB / 0.9636 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.1442, allocations: 359.1 kB / 0.964 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.1444, allocations: 295.2 kB / 0.9643 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.1446, allocations: 299.4 kB / 0.9645 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.1454, allocations: 0.7827 MB / 0.9653 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1454, allocations: 0 / 0.9653 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1454, allocations: 0 / 0.9653 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.1454, allocations: 0 / 0.9653 GB, free: 4.742 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.001147/0.1466, allocations: 1.052 MB / 0.9663 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1466, allocations: 8.031 kB / 0.9663 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.1472, allocations: 224.1 kB / 0.9666 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.1477, allocations: 476.8 kB / 0.967 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.1477, allocations: 49.44 kB / 0.9671 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1478, allocations: 56 kB / 0.9671 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.1484, allocations: 0.7777 MB / 0.9679 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1484, allocations: 7.938 kB / 0.9679 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1484, allocations: 24 kB / 0.9679 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.1484, allocations: 21.31 kB / 0.9679 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1487, allocations: 182.2 kB / 0.9681 GB, free: 1.715 MB / 0.9167 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.001622/0.1503, allocations: 1.529 MB / 0.9696 GB, free: 140 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1505, allocations: 145.1 kB / 0.9697 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.1506, allocations: 51.61 kB / 0.9698 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1506, allocations: 8 kB / 0.9698 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.1507, allocations: 37.39 kB / 0.9698 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 2.305e-06/0.1507, allocations: 0 / 0.9698 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.0006611/0.1513, allocations: 318.3 kB / 0.9701 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1514, allocations: 81.11 kB / 0.9702 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.1516, allocations: 434.3 kB / 0.9706 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1517, allocations: 33.7 kB / 0.9706 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1518, allocations: 402.4 kB / 0.971 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.1519, allocations: 71.36 kB / 0.9711 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.152, allocations: 79.61 kB / 0.9712 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1522, allocations: 0.5312 MB / 0.9717 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.1522, allocations: 36.62 kB / 0.9717 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1523, allocations: 183.4 kB / 0.9719 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1525, allocations: 205.6 kB / 0.9721 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1525, allocations: 4 kB / 0.9721 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003349/0.1528, allocations: 272.5 kB / 0.9724 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1529, allocations: 11.94 kB / 0.9724 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1529, allocations: 4 kB / 0.9724 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.153, allocations: 67.59 kB / 0.9724 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1532, allocations: 67.91 kB / 0.9725 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.1551, allocations: 3.595 MB / 0.976 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1553, allocations: 31.78 kB / 0.976 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1553, allocations: 15.98 kB / 0.9761 GB, free: 9.051 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.000119/0.1554, allocations: 172.5 kB / 0.9762 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.1555, allocations: 59.66 kB / 0.9763 GB, free: 8.812 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.1558, allocations: 43.69 kB / 0.9763 GB, free: 8.766 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1558, allocations: 4 kB / 0.9763 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.1558, allocations: 0 / 0.9763 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002743/0.1561, allocations: 394.2 kB / 0.9767 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1566, allocations: 0.5762 MB / 0.9773 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1566, allocations: 4.062 kB / 0.9773 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1567, allocations: 43.91 kB / 0.9773 GB, free: 7.637 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.1568, allocations: 39.66 kB / 0.9774 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1568, allocations: 4 kB / 0.9774 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009241/0.1577, allocations: 1.879 MB / 0.9792 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1577, allocations: 0 / 0.9792 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.158, allocations: 352.8 kB / 0.9795 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1581, allocations: 71.61 kB / 0.9796 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1581, allocations: 11.94 kB / 0.9796 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.1583, allocations: 15.98 kB / 0.9796 GB, free: 5.125 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1584, allocations: 15.97 kB / 0.9796 GB, free: 5.109 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.1584, allocations: 15.98 kB / 0.9797 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001882/0.1586, allocations: 271 kB / 0.9799 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1586, allocations: 0 / 0.9799 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004214/0.159, allocations: 219.6 kB / 0.9801 GB, free: 4.617 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.0001937/0.1592, allocations: 131.1 kB / 0.9802 GB, free: 4.48 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.1597, allocations: 0.5028 MB / 0.9807 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1597, allocations: 7.75 kB / 0.9807 GB, free: 3.93 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1598, allocations: 254.9 kB / 0.981 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.1606, allocations: 269.1 kB / 0.9812 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1617, allocations: 0.8903 MB / 0.9821 GB, free: 2.473 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.1618, allocations: 153.2 kB / 0.9823 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001857/0.162, allocations: 68.16 kB / 0.9823 GB, free: 2.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.1624, allocations: 301.9 kB / 0.9826 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/0.1624, allocations: 0 / 0.9826 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of Templates: time 0.01443/0.1768, allocations: 11.55 MB / 0.9939 GB, free: 6.68 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.3875291692093015]