Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007835/0.007835, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 9.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3603, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1868/0.5472, allocations: 166.6 MB / 1.237 GB, free: 388 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006623/0.5539, allocations: 4.291 MB / 1.241 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.5546, allocations: 15.88 kB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009652/0.5556, allocations: 302.5 kB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.558, allocations: 0.9414 MB / 1.242 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.5599, allocations: 0.7278 MB / 1.243 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.562, allocations: 1.801 MB / 1.245 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.5626, allocations: 398.4 kB / 1.245 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5637, allocations: 0.5835 MB / 1.246 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5648, allocations: 452.7 kB / 1.246 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.5649, allocations: 23.94 kB / 1.246 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.5665, allocations: 1.002 MB / 1.247 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.5667, allocations: 187.4 kB / 1.247 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.5671, allocations: 320.2 kB / 1.248 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.5684, allocations: 1.133 MB / 1.249 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5684, allocations: 4 kB / 1.249 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5684, allocations: 0 / 1.249 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5684, allocations: 0 / 1.249 GB, free: 4.203 MB / 0.9981 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.00153/0.5699, allocations: 0.8376 MB / 1.249 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.57, allocations: 8.031 kB / 1.249 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.5717, allocations: 287 kB / 1.25 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.5726, allocations: 497.3 kB / 1.25 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003474/0.5729, allocations: 96.94 kB / 1.25 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.573, allocations: 36 kB / 1.25 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.5744, allocations: 0.6419 MB / 1.251 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5744, allocations: 0 / 1.251 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.5745, allocations: 16 kB / 1.251 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.51e-05/0.5745, allocations: 21 kB / 1.251 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.5761, allocations: 0.5855 MB / 1.252 GB, free: 1.086 MB / 0.9981 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.6852/1.261, allocations: 2.295 MB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/1.262, allocations: 314.5 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/1.263, allocations: 191.5 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/1.263, allocations: 2.547 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/1.263, allocations: 37.39 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/1.263, allocations: 3.828 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005867/1.269, allocations: 1.182 MB / 1.255 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/1.269, allocations: 86.23 kB / 1.256 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/1.27, allocations: 0.5503 MB / 1.256 GB, free: 183 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/1.27, allocations: 30.05 kB / 1.256 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/1.27, allocations: 303.5 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/1.27, allocations: 39.31 kB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/1.27, allocations: 27.69 kB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001052/1.271, allocations: 356.5 kB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/1.271, allocations: 213.7 kB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/1.272, allocations: 289.9 kB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/1.273, allocations: 450.7 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.273, allocations: 0.9375 kB / 1.258 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002896/1.276, allocations: 0.7886 MB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.276, allocations: 6.969 kB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.276, allocations: 6.094 kB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/1.277, allocations: 189.8 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/1.277, allocations: 77.47 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/1.281, allocations: 2.115 MB / 1.261 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/1.282, allocations: 91.56 kB / 1.261 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/1.282, allocations: 8.5 kB / 1.261 GB, free: 180.8 MB / 0.9981 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.0003418/1.282, allocations: 193 kB / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-05/1.282, allocations: 52.19 kB / 1.261 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/1.282, allocations: 53.64 kB / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.282, allocations: 6.906 kB / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.282, allocations: 0 / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.282, allocations: 0 / 1.261 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/1.286, allocations: 1.184 MB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.286, allocations: 3.75 kB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/1.286, allocations: 48.55 kB / 1.262 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005656/1.287, allocations: 189.3 kB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/1.287, allocations: 1.453 kB / 1.263 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/1.29, allocations: 2.074 MB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.29, allocations: 3.141 kB / 1.265 GB, free: 179 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/1.293, allocations: 0.7593 MB / 1.265 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/1.293, allocations: 170 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/1.293, allocations: 4.344 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/1.294, allocations: 67.38 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/1.294, allocations: 12.02 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/1.294, allocations: 13.94 kB / 1.266 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004934/1.294, allocations: 401.4 kB / 1.266 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.294, allocations: 4 kB / 1.266 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006744/1.295, allocations: 184.6 kB / 1.266 GB, free: 178.5 MB / 0.9981 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.0004172/1.295, allocations: 168.6 kB / 1.266 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001666/1.297, allocations: 0.5637 MB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.297, allocations: 0 / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007732/1.298, allocations: 321.4 kB / 1.267 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.299, allocations: 304 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.303, allocations: 1.289 MB / 1.269 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.303, allocations: 0.8628 MB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004666/1.303, allocations: 107.5 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.303, allocations: 36.05 kB / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.303, allocations: 0 / 1.27 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02517/1.329, allocations: 11.78 MB / 1.281 GB, free: 173.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)