Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001041/0.001041, 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.001191/0.001191, 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.9951/0.9951, allocations: 177.1 MB / 204.6 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.777/1.777, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.151e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1866/0.1866, allocations: 167.4 MB / 0.9505 GB, free: 4.918 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005453/0.1921, allocations: 4.363 MB / 0.9548 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.1928, allocations: 27.75 kB / 0.9548 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009028/0.1937, allocations: 345.8 kB / 0.9551 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.1958, allocations: 1.072 MB / 0.9562 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.1975, allocations: 0.8477 MB / 0.957 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.199, allocations: 1.334 MB / 0.9583 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004951/0.1995, allocations: 400.1 kB / 0.9587 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.2007, allocations: 0.8645 MB / 0.9595 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.2017, allocations: 439.5 kB / 0.96 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.2017, allocations: 52 kB / 0.96 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.203, allocations: 0.7597 MB / 0.9607 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.2032, allocations: 243.3 kB / 0.961 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.2034, allocations: 231.5 kB / 0.9612 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.2046, allocations: 0.9269 MB / 0.9621 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2046, allocations: 0 / 0.9621 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2046, allocations: 0 / 0.9621 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2046, allocations: 0 / 0.9621 GB, free: 9.027 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001184/0.2058, allocations: 0.997 MB / 0.9631 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2059, allocations: 8.031 kB / 0.9631 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008734/0.2067, allocations: 275.1 kB / 0.9633 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.2073, allocations: 449.4 kB / 0.9638 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.2074, allocations: 33 kB / 0.9638 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2074, allocations: 47.94 kB / 0.9638 GB, free: 7.176 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.2081, allocations: 0.7417 MB / 0.9646 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2081, allocations: 0 / 0.9646 GB, free: 6.324 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.2082, allocations: 27.94 kB / 0.9646 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.2082, allocations: 17 kB / 0.9646 GB, free: 6.277 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.2085, allocations: 205.8 kB / 0.9648 GB, free: 6.078 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.002009/0.2105, allocations: 1.833 MB / 0.9666 GB, free: 4.168 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.2108, allocations: 107 kB / 0.9667 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.2109, allocations: 47.61 kB / 0.9668 GB, free: 4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2109, allocations: 0 / 0.9668 GB, free: 4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2109, allocations: 37.39 kB / 0.9668 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.2109, allocations: 0 / 0.9668 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.001592/0.2125, allocations: 0.4967 MB / 0.9673 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2126, allocations: 81.11 kB / 0.9673 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.2129, allocations: 434.5 kB / 0.9678 GB, free: 2.906 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2129, allocations: 33.7 kB / 0.9678 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.2131, allocations: 366.4 kB / 0.9681 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2131, allocations: 43.62 kB / 0.9682 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-05/0.2132, allocations: 63.31 kB / 0.9682 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2133, allocations: 0.5235 MB / 0.9688 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.2134, allocations: 43.97 kB / 0.9688 GB, free: 1.812 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.2136, allocations: 178.2 kB / 0.969 GB, free: 1.586 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.2138, allocations: 186.4 kB / 0.9691 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2138, allocations: 0 / 0.9691 GB, free: 1.363 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007496/0.2145, allocations: 368.7 kB / 0.9695 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2146, allocations: 4 kB / 0.9695 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2146, allocations: 4 kB / 0.9695 GB, free: 0.9844 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/0.2153, allocations: 243.5 kB / 0.9697 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2155, allocations: 59.91 kB / 0.9698 GB, free: 0.6836 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.2171, allocations: 2.046 MB / 0.9718 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.2174, allocations: 47.75 kB / 0.9718 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2174, allocations: 12 kB / 0.9719 GB, free: 14.46 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.2175, allocations: 180.4 kB / 0.972 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.2176, allocations: 43.77 kB / 0.9721 GB, free: 14.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.2177, allocations: 43.27 kB / 0.9721 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2177, allocations: 0 / 0.9721 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.2177, allocations: 0 / 0.9721 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2177, allocations: 4 kB / 0.9721 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/0.2187, allocations: 0.7068 MB / 0.9728 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2187, allocations: 0 / 0.9728 GB, free: 13.42 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.2187, allocations: 27.97 kB / 0.9728 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006332/0.2194, allocations: 243.5 kB / 0.9731 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2194, allocations: 4 kB / 0.9731 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.2208, allocations: 1.994 MB / 0.975 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2208, allocations: 0 / 0.975 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.2215, allocations: 450.7 kB / 0.9754 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.2216, allocations: 75.66 kB / 0.9755 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.2216, allocations: 0 / 0.9755 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.2218, allocations: 38.2 kB / 0.9755 GB, free: 10.44 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2219, allocations: 15.97 kB / 0.9756 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2219, allocations: 11.98 kB / 0.9756 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000186/0.2221, allocations: 279.1 kB / 0.9758 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.2221, allocations: 0 / 0.9758 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004991/0.2226, allocations: 195.6 kB / 0.976 GB, free: 9.953 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.2229, allocations: 159.1 kB / 0.9762 GB, free: 9.789 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004949/0.2234, allocations: 345.3 kB / 0.9765 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2234, allocations: 0 / 0.9765 GB, free: 9.43 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.2235, allocations: 245.4 kB / 0.9767 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.2242, allocations: 213.8 kB / 0.9769 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2259, allocations: 0.8959 MB / 0.9778 GB, free: 8.027 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.791e-05/0.226, allocations: 133.2 kB / 0.9779 GB, free: 7.879 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.2262, allocations: 75.22 kB / 0.978 GB, free: 7.805 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.2263, allocations: 32.5 kB / 0.9781 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of SimCode: time 1.222e-06/0.2263, allocations: 0 / 0.9781 GB, free: 7.773 MB / 0.9323 GB Notification: Performance of Templates: time 0.01213/0.2384, allocations: 9.749 MB / 0.9876 GB, free: 14.23 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.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.485942995175719]