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.001313/0.001313, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001596/0.001596, allocations: 161 kB / 23.82 MB, free: 0.7539 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.925/0.925, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.671/1.671, allocations: 359 MB / 0.6052 GB, free: 11.01 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 1.493e-06/1.493e-06, allocations: 448 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.266e-05, allocations: 5.625 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.188/0.1881, allocations: 148.3 MB / 0.9319 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.1932, allocations: 3.43 MB / 0.9352 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.1939, allocations: 31.75 kB / 0.9353 GB, free: 4.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.1945, allocations: 174.7 kB / 0.9354 GB, free: 4.078 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.1961, allocations: 0.804 MB / 0.9362 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1975, allocations: 0.7081 MB / 0.9369 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.1989, allocations: 1.309 MB / 0.9382 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005789/0.1994, allocations: 396.2 kB / 0.9386 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.2008, allocations: 0.794 MB / 0.9393 GB, free: 80 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005676/0.2014, allocations: 410.8 kB / 0.9397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.2015, allocations: 52 kB / 0.9398 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.2023, allocations: 0.5728 MB / 0.9403 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.2025, allocations: 231.3 kB / 0.9406 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.203, allocations: 235.5 kB / 0.9408 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.204, allocations: 0.8567 MB / 0.9416 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.204, allocations: 0 / 0.9416 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.182e-06/0.204, allocations: 0 / 0.9416 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.2041, allocations: 0 / 0.9416 GB, free: 13.73 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001165/0.2052, allocations: 0.9743 MB / 0.9426 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2053, allocations: 8.031 kB / 0.9426 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000758/0.206, allocations: 268.1 kB / 0.9428 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.2065, allocations: 433 kB / 0.9433 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2065, allocations: 37.12 kB / 0.9433 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.2066, allocations: 40 kB / 0.9433 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.2072, allocations: 0.7206 MB / 0.944 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2072, allocations: 4 kB / 0.944 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.2073, allocations: 20 kB / 0.9441 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.2073, allocations: 21 kB / 0.9441 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.2076, allocations: 205.8 kB / 0.9443 GB, free: 10.86 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.002053/0.2097, allocations: 1.837 MB / 0.9461 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.2099, allocations: 110.9 kB / 0.9462 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.024e-05/0.21, allocations: 39.67 kB / 0.9462 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.21, allocations: 8.219 kB / 0.9462 GB, free: 8.777 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.2101, allocations: 41.33 kB / 0.9463 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.2101, allocations: 0 / 0.9463 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.001567/0.2117, allocations: 0.4888 MB / 0.9467 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2117, allocations: 81.09 kB / 0.9468 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.212, allocations: 430.6 kB / 0.9472 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.2121, allocations: 29.7 kB / 0.9472 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2122, allocations: 370.4 kB / 0.9476 GB, free: 7.289 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.2123, allocations: 43.67 kB / 0.9476 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.2124, allocations: 67.31 kB / 0.9477 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2125, allocations: 0.5195 MB / 0.9482 GB, free: 6.641 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.2126, allocations: 43.91 kB / 0.9483 GB, free: 6.598 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2127, allocations: 178.2 kB / 0.9484 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.2129, allocations: 182.5 kB / 0.9486 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2129, allocations: 4 kB / 0.9486 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000731/0.2137, allocations: 366.8 kB / 0.949 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2137, allocations: 8 kB / 0.949 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.006e-06/0.2137, allocations: 0 / 0.949 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/0.2144, allocations: 239.5 kB / 0.9492 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2146, allocations: 63.89 kB / 0.9493 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.2162, allocations: 2.059 MB / 0.9513 GB, free: 3.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.2165, allocations: 51.69 kB / 0.9513 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2165, allocations: 8 kB / 0.9513 GB, free: 3.242 MB / 0.9011 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.0001484/0.2166, allocations: 164.6 kB / 0.9515 GB, free: 3.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.2167, allocations: 51.7 kB / 0.9515 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.2168, allocations: 39.27 kB / 0.9516 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2168, allocations: 4 kB / 0.9516 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.2168, allocations: 0 / 0.9516 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2168, allocations: 0 / 0.9516 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.2178, allocations: 0.7069 MB / 0.9523 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2178, allocations: 8.062 kB / 0.9523 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.2179, allocations: 23.97 kB / 0.9523 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006177/0.2185, allocations: 243.4 kB / 0.9525 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2185, allocations: 4 kB / 0.9525 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.2199, allocations: 1.998 MB / 0.9545 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2199, allocations: 7.875 kB / 0.9545 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006685/0.2205, allocations: 450.8 kB / 0.9549 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2206, allocations: 71.72 kB / 0.955 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.2207, allocations: 4 kB / 0.955 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2209, allocations: 27.97 kB / 0.955 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2209, allocations: 11.97 kB / 0.955 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.2209, allocations: 19.98 kB / 0.955 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002125/0.2212, allocations: 279.1 kB / 0.9553 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2212, allocations: 0 / 0.9553 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004702/0.2216, allocations: 191.6 kB / 0.9555 GB, free: 14.75 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 (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.000235/0.2219, allocations: 151.1 kB / 0.9556 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.2223, allocations: 341 kB / 0.956 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2224, allocations: 0 / 0.956 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.2225, allocations: 250.1 kB / 0.9562 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.2231, allocations: 209.5 kB / 0.9564 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.2248, allocations: 0.8861 MB / 0.9573 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.271e-05/0.2249, allocations: 133.2 kB / 0.9574 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002092/0.2251, allocations: 75.22 kB / 0.9575 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.2251, allocations: 32.48 kB / 0.9575 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of SimCode: time 1.262e-06/0.2251, allocations: 0 / 0.9575 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of Templates: time 0.0127/0.2378, allocations: 10.25 MB / 0.9675 GB, free: 2.543 MB / 0.9167 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.166480538900942]