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.001389/0.001389, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.557/1.557, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.752/1.752, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001468/0.001468, allocations: 67.7 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2826, allocations: 114.5 MB / 0.7834 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.7545/1.037, allocations: 171 MB / 0.9503 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008355/1.046, allocations: 4.258 MB / 0.9545 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/1.047, allocations: 21.78 kB / 0.9545 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/1.049, allocations: 344.3 kB / 0.9548 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/1.052, allocations: 0.9961 MB / 0.9558 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/1.055, allocations: 0.8034 MB / 0.9566 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002658/1.058, allocations: 1.283 MB / 0.9579 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/1.059, allocations: 492.1 kB / 0.9583 GB, free: 256 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/1.061, allocations: 0.6679 MB / 0.959 GB, free: 168 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/1.062, allocations: 452.1 kB / 0.9594 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/1.062, allocations: 51.69 kB / 0.9595 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/1.064, allocations: 0.9077 MB / 0.9603 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/1.064, allocations: 218.9 kB / 0.9605 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004326/1.065, allocations: 331.2 kB / 0.9609 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/1.067, allocations: 1.125 MB / 0.962 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.067, allocations: 0 / 0.962 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.552e-06/1.067, allocations: 0.8125 kB / 0.962 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.193e-05/1.067, allocations: 3.938 kB / 0.962 GB, free: 15.98 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.001816/1.069, allocations: 0.9447 MB / 0.9629 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.069, allocations: 9.531 kB / 0.9629 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.071, allocations: 274.3 kB / 0.9632 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/1.071, allocations: 474.8 kB / 0.9636 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/1.072, allocations: 91.28 kB / 0.9637 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/1.072, allocations: 40.38 kB / 0.9637 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.073, allocations: 0.6262 MB / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.074, allocations: 1.25 kB / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-05/1.074, allocations: 18.78 kB / 0.9644 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/1.074, allocations: 20.28 kB / 0.9644 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/1.075, allocations: 0.562 MB / 0.9649 GB, free: 14.93 MB / 0.7325 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.004507/1.08, allocations: 2.282 MB / 0.9672 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.081, allocations: 300.2 kB / 0.9675 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/1.081, allocations: 172 kB / 0.9676 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/1.082, allocations: 2.625 kB / 0.9676 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.082, allocations: 43.23 kB / 0.9677 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 2.325e-06/1.082, allocations: 0 / 0.9677 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.005509/1.087, allocations: 1.105 MB / 0.9687 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.087, allocations: 82.2 kB / 0.9688 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/1.088, allocations: 0.5482 MB / 0.9694 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/1.088, allocations: 31.92 kB / 0.9694 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.088, allocations: 301.7 kB / 0.9697 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/1.088, allocations: 42.58 kB / 0.9697 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.089, allocations: 62.34 kB / 0.9698 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.089, allocations: 354.4 kB / 0.9701 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/1.089, allocations: 192.9 kB / 0.9703 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/1.09, allocations: 283.2 kB / 0.9706 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/1.092, allocations: 417.5 kB / 0.971 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.092, allocations: 4 kB / 0.971 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003184/1.095, allocations: 0.7396 MB / 0.9717 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.095, allocations: 5.438 kB / 0.9717 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.095, allocations: 2.688 kB / 0.9717 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/1.096, allocations: 187.1 kB / 0.9719 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/1.096, allocations: 78.67 kB / 0.9719 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/1.101, allocations: 2.232 MB / 0.9741 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/1.102, allocations: 77.14 kB / 0.9742 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/1.102, allocations: 11.97 kB / 0.9742 GB, free: 10.86 MB / 0.7325 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.000354/1.102, allocations: 197.8 kB / 0.9744 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.102, allocations: 49.19 kB / 0.9744 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/1.102, allocations: 58.98 kB / 0.9745 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.102, allocations: 2.562 kB / 0.9745 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.103, allocations: 0 / 0.9745 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.103, allocations: 7.984 kB / 0.9745 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/1.106, allocations: 1.13 MB / 0.9756 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.106, allocations: 3.984 kB / 0.9756 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/1.106, allocations: 46.11 kB / 0.9757 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005736/1.107, allocations: 181.3 kB / 0.9758 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/1.107, allocations: 4.062 kB / 0.9758 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/1.111, allocations: 2.199 MB / 0.978 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.111, allocations: 2.5 kB / 0.978 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/1.113, allocations: 0.7079 MB / 0.9787 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/1.114, allocations: 166 kB / 0.9788 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/1.114, allocations: 2.938 kB / 0.9788 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/1.114, allocations: 58.89 kB / 0.9789 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/1.114, allocations: 11.27 kB / 0.9789 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/1.115, allocations: 14.64 kB / 0.9789 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004972/1.115, allocations: 391.4 kB / 0.9793 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.115, allocations: 0 / 0.9793 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007718/1.116, allocations: 191.7 kB / 0.9795 GB, free: 7.211 MB / 0.7325 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.0004326/1.116, allocations: 173.2 kB / 0.9796 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001674/1.118, allocations: 0.5291 MB / 0.9802 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.118, allocations: 2.781 kB / 0.9802 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007932/1.119, allocations: 308.7 kB / 0.9805 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.12, allocations: 317.8 kB / 0.9808 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/1.124, allocations: 1.077 MB / 0.9818 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/1.124, allocations: 0.8662 MB / 0.9827 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004294/1.125, allocations: 103.8 kB / 0.9828 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/1.125, allocations: 39.39 kB / 0.9828 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/1.125, allocations: 0 / 0.9828 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.02008/1.145, allocations: 12.41 MB / 0.9949 GB, free: 14.78 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)