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.000977/0.000977, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009349/0.0009349, allocations: 169 kB / 24.28 MB, free: 276 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.9278/0.9278, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.846/1.846, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.843e-06/1.843e-06, allocations: 0 / 0.8115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.663e-05, allocations: 4.078 kB / 0.8115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1623/0.1624, allocations: 167.5 MB / 0.975 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.168, allocations: 4.382 MB / 0.9793 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.1687, allocations: 31.75 kB / 0.9794 GB, free: 4.52 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.1696, allocations: 337.8 kB / 0.9797 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.1723, allocations: 1.313 MB / 0.981 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1741, allocations: 0.8372 MB / 0.9818 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.176, allocations: 1.745 MB / 0.9835 GB, free: 280 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.1768, allocations: 468.5 kB / 0.9839 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.1785, allocations: 0.9972 MB / 0.9849 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.1796, allocations: 0.5315 MB / 0.9854 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1797, allocations: 64 kB / 0.9855 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.1809, allocations: 0.6854 MB / 0.9862 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.1812, allocations: 299.2 kB / 0.9864 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.1815, allocations: 299.4 kB / 0.9867 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.183, allocations: 0.9502 MB / 0.9877 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.183, allocations: 0 / 0.9877 GB, free: 12 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.743e-06/0.183, allocations: 0 / 0.9877 GB, free: 12 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.183, allocations: 0 / 0.9877 GB, free: 12 MB / 0.9011 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.001586/0.1846, allocations: 1.083 MB / 0.9887 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1846, allocations: 8.031 kB / 0.9887 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1856, allocations: 243 kB / 0.9889 GB, free: 10.63 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.1864, allocations: 0.4899 MB / 0.9894 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1864, allocations: 37.31 kB / 0.9895 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.1865, allocations: 59.94 kB / 0.9895 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/0.1873, allocations: 0.8343 MB / 0.9903 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1874, allocations: 0 / 0.9903 GB, free: 9.078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/0.1874, allocations: 27.98 kB / 0.9904 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.1875, allocations: 25.31 kB / 0.9904 GB, free: 9.023 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.188, allocations: 219.7 kB / 0.9906 GB, free: 8.809 MB / 0.9011 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.002281/0.1902, allocations: 1.537 MB / 0.9921 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1906, allocations: 147.3 kB / 0.9922 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1907, allocations: 63.66 kB / 0.9923 GB, free: 7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1907, allocations: 8 kB / 0.9923 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.1908, allocations: 41.39 kB / 0.9923 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/0.1908, allocations: 0 / 0.9923 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of matching and sorting (n=20): time 0.001016/0.1918, allocations: 335 kB / 0.9927 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1918, allocations: 81.11 kB / 0.9927 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.1923, allocations: 454.5 kB / 0.9932 GB, free: 6.047 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1923, allocations: 33.7 kB / 0.9932 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.1925, allocations: 398.5 kB / 0.9936 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.1926, allocations: 71.42 kB / 0.9937 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1927, allocations: 75.64 kB / 0.9937 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1928, allocations: 0.5196 MB / 0.9942 GB, free: 4.93 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1929, allocations: 44.62 kB / 0.9943 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1931, allocations: 191.4 kB / 0.9945 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1934, allocations: 217.7 kB / 0.9947 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1934, allocations: 4 kB / 0.9947 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006011/0.194, allocations: 312.7 kB / 0.995 GB, free: 4.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.194, allocations: 8 kB / 0.995 GB, free: 4.062 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.194, allocations: 4 kB / 0.995 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.1942, allocations: 63.33 kB / 0.995 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.1945, allocations: 63.92 kB / 0.9951 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.1969, allocations: 3.66 MB / 0.9987 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1972, allocations: 39.97 kB / 0.9987 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.1973, allocations: 12 kB / 0.9987 GB, free: 15.96 MB / 0.9167 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.0001926/0.1974, allocations: 172.5 kB / 0.9989 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.1975, allocations: 59.66 kB / 0.9989 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.1976, allocations: 47.67 kB / 0.999 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1976, allocations: 0 / 0.999 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1976, allocations: 0 / 0.999 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004205/0.198, allocations: 416.8 kB / 0.9994 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008703/0.1989, allocations: 0.6813 MB / 1 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1989, allocations: 0 / 1 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.199, allocations: 35.98 kB / 1 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.1992, allocations: 47.64 kB / 1 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1992, allocations: 4 kB / 1 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2004, allocations: 1.925 MB / 1.002 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2004, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.2008, allocations: 358.6 kB / 1.002 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.2009, allocations: 83.61 kB / 1.002 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.201, allocations: 4 kB / 1.002 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.2012, allocations: 20.02 kB / 1.002 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.2013, allocations: 23.95 kB / 1.002 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.2013, allocations: 11.98 kB / 1.002 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002458/0.2016, allocations: 291.1 kB / 1.003 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2016, allocations: 0 / 1.003 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006314/0.2022, allocations: 219.5 kB / 1.003 GB, free: 11.31 MB / 0.9167 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.0002566/0.2025, allocations: 146.2 kB / 1.003 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0006346/0.2031, allocations: 0.5033 MB / 1.004 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2031, allocations: 0 / 1.004 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.2033, allocations: 257.3 kB / 1.004 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.2043, allocations: 271.2 kB / 1.004 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2059, allocations: 0.9 MB / 1.005 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2061, allocations: 153.2 kB / 1.005 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.2064, allocations: 84.12 kB / 1.005 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.2065, allocations: 32.5 kB / 1.005 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of SimCode: time 1.123e-06/0.2065, allocations: 4 kB / 1.005 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of Templates: time 0.01424/0.2207, allocations: 10.74 MB / 1.016 GB, free: 14.4 MB / 0.9323 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.778427127050236]