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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 106.4 kB / 15.99 MB, free: 6.348 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.001071/0.001071, allocations: 199.8 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 70.78 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2391, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6722/0.9114, allocations: 168.7 MB / 0.9482 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009038/0.9205, allocations: 4.24 MB / 0.9524 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.9221, allocations: 17.22 kB / 0.9524 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.9237, allocations: 317 kB / 0.9527 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.9276, allocations: 0.9282 MB / 0.9536 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.9302, allocations: 0.7377 MB / 0.9543 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002456/0.9327, allocations: 1.271 MB / 0.9556 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.9336, allocations: 487.2 kB / 0.956 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.9353, allocations: 0.6667 MB / 0.9567 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.9367, allocations: 482.4 kB / 0.9571 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.9369, allocations: 52.62 kB / 0.9572 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.9392, allocations: 0.9382 MB / 0.9581 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003558/0.9396, allocations: 220.7 kB / 0.9583 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006851/0.9403, allocations: 332.7 kB / 0.9586 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.9421, allocations: 0.8441 MB / 0.9595 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9421, allocations: 0.5 kB / 0.9595 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9421, allocations: 0 / 0.9595 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.9421, allocations: 0.5312 kB / 0.9595 GB, free: 5.555 MB / 0.7325 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.00242/0.9446, allocations: 0.9533 MB / 0.9604 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.9446, allocations: 9.938 kB / 0.9604 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.9464, allocations: 264.7 kB / 0.9607 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.9474, allocations: 481.6 kB / 0.9611 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003393/0.9478, allocations: 84.81 kB / 0.9612 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.9479, allocations: 43.12 kB / 0.9612 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.9493, allocations: 0.6227 MB / 0.9619 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.9493, allocations: 1.125 kB / 0.9619 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.9494, allocations: 20.59 kB / 0.9619 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.9494, allocations: 20 kB / 0.9619 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.9508, allocations: 0.5576 MB / 0.9624 GB, free: 20.54 MB / 0.7481 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.004321/0.9552, allocations: 2.283 MB / 0.9647 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.9561, allocations: 291.5 kB / 0.9649 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.9566, allocations: 175.5 kB / 0.9651 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.9567, allocations: 2.031 kB / 0.9651 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.9567, allocations: 40.66 kB / 0.9652 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/0.9567, allocations: 1.125 kB / 0.9652 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.006614/0.9634, allocations: 1.103 MB / 0.9662 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.9635, allocations: 82.23 kB / 0.9663 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.9645, allocations: 0.5526 MB / 0.9668 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.9646, allocations: 31.58 kB / 0.9669 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.9649, allocations: 298.2 kB / 0.9672 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.9649, allocations: 43.45 kB / 0.9672 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9651, allocations: 61.41 kB / 0.9673 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000244/0.9654, allocations: 360 kB / 0.9676 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.9662, allocations: 191 kB / 0.9678 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.9672, allocations: 281.6 kB / 0.9681 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.9688, allocations: 422.9 kB / 0.9685 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.9688, allocations: 0 / 0.9685 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003782/0.9726, allocations: 0.7361 MB / 0.9692 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.9727, allocations: 5.75 kB / 0.9692 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9727, allocations: 2.438 kB / 0.9692 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/0.9736, allocations: 185.8 kB / 0.9694 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.9741, allocations: 76.5 kB / 0.9694 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/0.9781, allocations: 2.237 MB / 0.9716 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.979, allocations: 84.48 kB / 0.9717 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/0.979, allocations: 18.75 kB / 0.9717 GB, free: 16.68 MB / 0.7481 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.0003636/0.9794, allocations: 190.3 kB / 0.9719 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.9796, allocations: 53.16 kB / 0.972 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.9798, allocations: 51.33 kB / 0.972 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9798, allocations: 2.219 kB / 0.972 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.9798, allocations: 0 / 0.972 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9798, allocations: 4 kB / 0.972 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.9831, allocations: 1.136 MB / 0.9731 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.9831, allocations: 1.125 kB / 0.9731 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.9834, allocations: 42.95 kB / 0.9732 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005605/0.984, allocations: 185 kB / 0.9733 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.984, allocations: 5.547 kB / 0.9733 GB, free: 16.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/0.9876, allocations: 2.193 MB / 0.9755 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9876, allocations: 0.8594 kB / 0.9755 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.9902, allocations: 0.7162 MB / 0.9762 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.9907, allocations: 165.9 kB / 0.9763 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.9909, allocations: 2.75 kB / 0.9763 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.9917, allocations: 68.95 kB / 0.9764 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.9918, allocations: 9.328 kB / 0.9764 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.9919, allocations: 17.84 kB / 0.9764 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006325/0.9925, allocations: 394.4 kB / 0.9768 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9925, allocations: 0 / 0.9768 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001017/0.9935, allocations: 187.5 kB / 0.977 GB, free: 14.32 MB / 0.7481 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.0005993/0.9941, allocations: 172.2 kB / 0.9772 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001772/0.9959, allocations: 0.5415 MB / 0.9777 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9959, allocations: 5.219 kB / 0.9777 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.9967, allocations: 302.3 kB / 0.978 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.9984, allocations: 303.2 kB / 0.9783 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/1.002, allocations: 1.274 MB / 0.9795 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/1.003, allocations: 0.8596 MB / 0.9803 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/1.003, allocations: 38.86 kB / 0.9804 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.533e-06/1.003, allocations: 1.094 kB / 0.9804 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.02009/1.023, allocations: 11.08 MB / 0.9912 GB, free: 10.2 MB / 0.7481 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)