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.0015/0.0015, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001623/0.001623, allocations: 165.4 kB / 23.81 MB, free: 0.75 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.9699/0.9699, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.849/1.849, 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.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.684e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1443/0.1443, allocations: 148.4 MB / 0.9564 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.1487, allocations: 3.444 MB / 0.9598 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.1491, allocations: 31.75 kB / 0.9598 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005757/0.1497, allocations: 190.6 kB / 0.96 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.1511, allocations: 0.9323 MB / 0.9609 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1522, allocations: 0.6234 MB / 0.9615 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1537, allocations: 1.718 MB / 0.9632 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.1541, allocations: 464.4 kB / 0.9636 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000869/0.155, allocations: 0.8571 MB / 0.9645 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008139/0.1558, allocations: 0.517 MB / 0.965 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.1559, allocations: 64 kB / 0.965 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007086/0.1566, allocations: 442.8 kB / 0.9655 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1568, allocations: 303.2 kB / 0.9657 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1571, allocations: 295.4 kB / 0.966 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009787/0.158, allocations: 0.8178 MB / 0.9668 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1581, allocations: 0 / 0.9668 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1581, allocations: 0 / 0.9668 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1581, allocations: 0 / 0.9668 GB, free: 2.184 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.001231/0.1593, allocations: 1.068 MB / 0.9679 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1593, allocations: 8.031 kB / 0.9679 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.16, allocations: 232.1 kB / 0.9681 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.1606, allocations: 0.4904 MB / 0.9686 GB, free: 336 kB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.1606, allocations: 53.41 kB / 0.9686 GB, free: 284 kB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.1607, allocations: 56 kB / 0.9687 GB, free: 228 kB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.1614, allocations: 0.8342 MB / 0.9695 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1614, allocations: 0 / 0.9695 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.1615, allocations: 28 kB / 0.9695 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.1615, allocations: 21.31 kB / 0.9695 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.1619, allocations: 231.6 kB / 0.9698 GB, free: 15 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.001909/0.1638, allocations: 1.53 MB / 0.9713 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.164, allocations: 167.3 kB / 0.9714 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/0.1641, allocations: 63.64 kB / 0.9715 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.1642, allocations: 4 kB / 0.9715 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1642, allocations: 45.33 kB / 0.9715 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.1642, allocations: 0 / 0.9715 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.0007575/0.165, allocations: 327.2 kB / 0.9718 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.165, allocations: 81.11 kB / 0.9719 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1653, allocations: 454.5 kB / 0.9723 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1654, allocations: 33.7 kB / 0.9724 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.1656, allocations: 394.5 kB / 0.9728 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.1657, allocations: 75.38 kB / 0.9728 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.1658, allocations: 75.64 kB / 0.9729 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1659, allocations: 0.5235 MB / 0.9734 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.166, allocations: 40.62 kB / 0.9734 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1661, allocations: 195.5 kB / 0.9736 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.1663, allocations: 209.7 kB / 0.9738 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1663, allocations: 4 kB / 0.9738 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004046/0.1667, allocations: 316.7 kB / 0.9741 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1668, allocations: 5.25 kB / 0.9741 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1668, allocations: 4 kB / 0.9741 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1669, allocations: 63.27 kB / 0.9742 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1671, allocations: 71.91 kB / 0.9743 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.1692, allocations: 3.652 MB / 0.9778 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.1694, allocations: 43.66 kB / 0.9779 GB, free: 6.164 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1694, allocations: 12 kB / 0.9779 GB, free: 6.152 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.000131/0.1695, allocations: 176.5 kB / 0.9781 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.1696, allocations: 55.7 kB / 0.9781 GB, free: 5.914 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1696, allocations: 43.69 kB / 0.9782 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1696, allocations: 0 / 0.9782 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1696, allocations: 0 / 0.9782 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003204/0.17, allocations: 418.2 kB / 0.9786 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.1706, allocations: 0.6776 MB / 0.9792 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1706, allocations: 0 / 0.9792 GB, free: 4.656 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1707, allocations: 35.98 kB / 0.9793 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.666e-05/0.1708, allocations: 47.59 kB / 0.9793 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1708, allocations: 12 kB / 0.9793 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009957/0.1718, allocations: 1.906 MB / 0.9812 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1718, allocations: 0 / 0.9812 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1721, allocations: 364.6 kB / 0.9815 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1722, allocations: 75.66 kB / 0.9816 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.1723, allocations: 8.031 kB / 0.9816 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.1725, allocations: 15.98 kB / 0.9816 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.1725, allocations: 27.89 kB / 0.9816 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.1725, allocations: 12 kB / 0.9817 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001993/0.1727, allocations: 291 kB / 0.9819 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1727, allocations: 0 / 0.9819 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004932/0.1732, allocations: 211.6 kB / 0.9821 GB, free: 1.516 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.0002509/0.1735, allocations: 135.2 kB / 0.9823 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.174, allocations: 0.5184 MB / 0.9828 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.174, allocations: 7.75 kB / 0.9828 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.1744, allocations: 254 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.1751, allocations: 284.8 kB / 0.9833 GB, free: 280 kB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.1765, allocations: 0.8936 MB / 0.9842 GB, free: 15.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1766, allocations: 157.2 kB / 0.9843 GB, free: 15.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.1768, allocations: 84.11 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.1769, allocations: 36.5 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/0.1769, allocations: 0 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of Templates: time 0.01354/0.1904, allocations: 10.54 MB / 0.9947 GB, free: 4.789 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.773994104936719]