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.001126/0.001126, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001386/0.001386, allocations: 185 kB / 24.09 MB, free: 416 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 1.009/1.009, allocations: 177.1 MB / 204.5 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.152e-06/1.152e-06, allocations: 0 / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.712e-05, allocations: 7.922 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1221/0.1221, allocations: 145.6 MB / 0.9542 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004399/0.1265, allocations: 3.413 MB / 0.9575 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.1271, allocations: 31.75 kB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.1276, allocations: 190.6 kB / 0.9577 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.1292, allocations: 0.9362 MB / 0.9586 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1303, allocations: 0.6195 MB / 0.9593 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.1321, allocations: 1.718 MB / 0.9609 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/0.1327, allocations: 476.3 kB / 0.9614 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1343, allocations: 0.9362 MB / 0.9623 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.1351, allocations: 0.5181 MB / 0.9628 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.124e-05/0.1352, allocations: 64 kB / 0.9629 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005683/0.1358, allocations: 351.1 kB / 0.9632 GB, free: 6.117 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.136, allocations: 299.2 kB / 0.9635 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.1362, allocations: 295.4 kB / 0.9638 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008958/0.1371, allocations: 0.7866 MB / 0.9645 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1371, allocations: 7.938 kB / 0.9645 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1371, allocations: 0 / 0.9645 GB, free: 4.738 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.1371, allocations: 0 / 0.9645 GB, free: 4.738 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.00111/0.1382, allocations: 1.052 MB / 0.9656 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1383, allocations: 8.031 kB / 0.9656 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005509/0.1388, allocations: 228.1 kB / 0.9658 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.1393, allocations: 468.9 kB / 0.9662 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.1393, allocations: 45.44 kB / 0.9663 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.1394, allocations: 56 kB / 0.9663 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.14, allocations: 0.77 MB / 0.9671 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.14, allocations: 0 / 0.9671 GB, free: 1.953 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.14, allocations: 28 kB / 0.9671 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.14, allocations: 25.3 kB / 0.9671 GB, free: 1.902 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.1403, allocations: 190.2 kB / 0.9673 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.00161/0.1419, allocations: 1.529 MB / 0.9688 GB, free: 140 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1421, allocations: 139.4 kB / 0.9689 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.1421, allocations: 67.58 kB / 0.969 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1422, allocations: 4 kB / 0.969 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1422, allocations: 37.39 kB / 0.9691 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.1422, allocations: 0 / 0.9691 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20): time 0.0006626/0.1428, allocations: 313.6 kB / 0.9694 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1429, allocations: 81.11 kB / 0.9694 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1432, allocations: 438.3 kB / 0.9698 GB, free: 15 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1432, allocations: 33.7 kB / 0.9699 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.1434, allocations: 402.4 kB / 0.9703 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.1434, allocations: 71.36 kB / 0.9703 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.1435, allocations: 71.62 kB / 0.9704 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1437, allocations: 0.5273 MB / 0.9709 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.1437, allocations: 40.56 kB / 0.971 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.1439, allocations: 183.4 kB / 0.9711 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.144, allocations: 201.7 kB / 0.9713 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.144, allocations: 0 / 0.9713 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003243/0.1443, allocations: 284.6 kB / 0.9716 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1444, allocations: 8.625 kB / 0.9716 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1444, allocations: 0 / 0.9716 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.1445, allocations: 71.31 kB / 0.9717 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1447, allocations: 63.91 kB / 0.9717 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.1465, allocations: 3.603 MB / 0.9752 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1467, allocations: 35.77 kB / 0.9753 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1467, allocations: 12 kB / 0.9753 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.000132/0.1468, allocations: 172.5 kB / 0.9755 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.1469, allocations: 63.53 kB / 0.9755 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.1469, allocations: 47.67 kB / 0.9756 GB, free: 8.758 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1469, allocations: 4 kB / 0.9756 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1469, allocations: 0 / 0.9756 GB, free: 8.754 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005454/0.1475, allocations: 400 kB / 0.9759 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.148, allocations: 0.577 MB / 0.9765 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.148, allocations: 0 / 0.9765 GB, free: 7.672 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.1481, allocations: 39.97 kB / 0.9766 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-05/0.1481, allocations: 39.72 kB / 0.9766 GB, free: 7.59 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1482, allocations: 8 kB / 0.9766 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/0.149, allocations: 1.875 MB / 0.9784 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.149, allocations: 0 / 0.9784 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1492, allocations: 346.6 kB / 0.9788 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1493, allocations: 83.62 kB / 0.9788 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1494, allocations: 7.938 kB / 0.9788 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1495, allocations: 18.83 kB / 0.9789 GB, free: 5.117 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1496, allocations: 15.97 kB / 0.9789 GB, free: 5.102 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1496, allocations: 15.98 kB / 0.9789 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000139/0.1497, allocations: 267 kB / 0.9791 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1497, allocations: 0 / 0.9791 GB, free: 4.828 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00045/0.1502, allocations: 215.6 kB / 0.9794 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.000192/0.1504, allocations: 139.1 kB / 0.9795 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.1508, allocations: 0.4969 MB / 0.98 GB, free: 3.938 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1508, allocations: 3.75 kB / 0.98 GB, free: 3.934 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1509, allocations: 254 kB / 0.9802 GB, free: 3.664 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.1516, allocations: 271.8 kB / 0.9805 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1528, allocations: 0.8978 MB / 0.9814 GB, free: 2.465 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1529, allocations: 157.2 kB / 0.9815 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.1531, allocations: 76.14 kB / 0.9816 GB, free: 2.211 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.1535, allocations: 301.9 kB / 0.9819 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of SimCode: time 9.72e-07/0.1535, allocations: 0 / 0.9819 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of Templates: time 0.01411/0.1676, allocations: 11.39 MB / 0.993 GB, free: 6.816 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.430858877953142]