Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 186.4 kB / 376.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205 MB / 0.6353 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.67 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 59.91 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2825, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6836/0.9662, allocations: 168.7 MB / 1.147 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006786/0.973, allocations: 4.321 MB / 1.151 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007832/0.9738, allocations: 17.69 kB / 1.151 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.9749, allocations: 297.4 kB / 1.152 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.9772, allocations: 0.9366 MB / 1.152 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.9794, allocations: 0.7176 MB / 1.153 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.9815, allocations: 1.79 MB / 1.155 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.9821, allocations: 421.9 kB / 1.155 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.9833, allocations: 0.5936 MB / 1.156 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.9845, allocations: 474.5 kB / 1.156 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.9846, allocations: 27.97 kB / 1.156 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.9863, allocations: 1.008 MB / 1.157 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.9866, allocations: 184.8 kB / 1.158 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.9869, allocations: 305.5 kB / 1.158 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.9885, allocations: 1.147 MB / 1.159 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9886, allocations: 0 / 1.159 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9886, allocations: 0 / 1.159 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.098e-06/0.9886, allocations: 3.938 kB / 1.159 GB, free: 5.25 MB / 0.7605 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.001798/0.9904, allocations: 0.9478 MB / 1.16 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.9904, allocations: 10.28 kB / 1.16 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.992, allocations: 263.7 kB / 1.16 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009609/0.9929, allocations: 485 kB / 1.161 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003147/0.9933, allocations: 88.55 kB / 1.161 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.9933, allocations: 39.47 kB / 1.161 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9946, allocations: 0.6172 MB / 1.161 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9946, allocations: 6.859 kB / 1.161 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.9947, allocations: 19.16 kB / 1.161 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.9947, allocations: 19.88 kB / 1.161 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.9961, allocations: 0.5557 MB / 1.162 GB, free: 3.691 MB / 0.7605 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.003955/1, allocations: 2.291 MB / 1.164 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.001, allocations: 292.8 kB / 1.164 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/1.002, allocations: 176.7 kB / 1.165 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/1.002, allocations: 3.938 kB / 1.165 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.002, allocations: 37.56 kB / 1.165 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 2.856e-06/1.002, allocations: 0 / 1.165 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.005123/1.007, allocations: 1.103 MB / 1.166 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.007, allocations: 80.45 kB / 1.166 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/1.008, allocations: 0.552 MB / 1.166 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/1.008, allocations: 32.58 kB / 1.166 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/1.008, allocations: 302.4 kB / 1.167 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/1.008, allocations: 38.06 kB / 1.167 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/1.008, allocations: 65.78 kB / 1.167 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.008, allocations: 357.4 kB / 1.167 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006172/1.009, allocations: 187.3 kB / 1.167 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/1.01, allocations: 277 kB / 1.168 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/1.011, allocations: 424.7 kB / 1.168 GB, free: 312 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.011, allocations: 4 kB / 1.168 GB, free: 308 kB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00264/1.013, allocations: 0.7402 MB / 1.169 GB, free: 80 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.013, allocations: 6.438 kB / 1.169 GB, free: 80 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.013, allocations: 4.281 kB / 1.169 GB, free: 80 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/1.014, allocations: 189.7 kB / 1.169 GB, free: 28 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/1.014, allocations: 79.08 kB / 1.169 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003618/1.018, allocations: 2.074 MB / 1.171 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006948/1.019, allocations: 88.83 kB / 1.171 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/1.019, allocations: 6.594 kB / 1.171 GB, free: 14.43 MB / 0.7761 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.0003145/1.019, allocations: 201.5 kB / 1.171 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/1.019, allocations: 57.31 kB / 1.171 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.019, allocations: 45.86 kB / 1.171 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.019, allocations: 3.781 kB / 1.171 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.019, allocations: 3.938 kB / 1.171 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.019, allocations: 3.375 kB / 1.171 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/1.023, allocations: 1.137 MB / 1.172 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.023, allocations: 3.328 kB / 1.172 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/1.023, allocations: 42.36 kB / 1.172 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/1.023, allocations: 178.9 kB / 1.173 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/1.023, allocations: 3.328 kB / 1.173 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/1.027, allocations: 2.047 MB / 1.175 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.027, allocations: 3.219 kB / 1.175 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/1.03, allocations: 1.541 MB / 1.176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/1.031, allocations: 167.3 kB / 1.176 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/1.031, allocations: 8 kB / 1.176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/1.031, allocations: 58.08 kB / 1.176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/1.031, allocations: 18.38 kB / 1.176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/1.031, allocations: 12.44 kB / 1.176 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004318/1.032, allocations: 395.4 kB / 1.177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.51e-07/1.032, allocations: 0 / 1.177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007545/1.033, allocations: 185 kB / 1.177 GB, free: 10.72 MB / 0.7761 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.0004094/1.033, allocations: 168.5 kB / 1.177 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.035, allocations: 0.5295 MB / 1.178 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.035, allocations: 0 / 1.178 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/1.035, allocations: 317.4 kB / 1.178 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.037, allocations: 293.5 kB / 1.178 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/1.04, allocations: 1.376 MB / 1.18 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/1.04, allocations: 0.8628 MB / 1.18 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004561/1.041, allocations: 108.5 kB / 1.181 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/1.041, allocations: 36.53 kB / 1.181 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/1.041, allocations: 0 / 1.181 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of Templates: time 0.02493/1.066, allocations: 12.15 MB / 1.192 GB, free: 7.84 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)