Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001118/0.001119, allocations: 191 kB / 17.29 MB, free: 5.516 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.823/1.823, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.00249/0.002491, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2613, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.5988/0.8602, allocations: 171 MB / 0.9518 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009558/0.8698, allocations: 4.287 MB / 0.956 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.871, allocations: 23.88 kB / 0.956 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.8724, allocations: 349.9 kB / 0.9563 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.8766, allocations: 1.205 MB / 0.9575 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.8794, allocations: 0.7981 MB / 0.9583 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.8825, allocations: 1.672 MB / 0.9599 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8836, allocations: 0.5625 MB / 0.9605 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.8854, allocations: 0.681 MB / 0.9611 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.887, allocations: 0.5513 MB / 0.9617 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.8872, allocations: 68 kB / 0.9617 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.8894, allocations: 0.8029 MB / 0.9625 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.8898, allocations: 271.3 kB / 0.9628 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/0.8904, allocations: 410.3 kB / 0.9632 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.8925, allocations: 1.262 MB / 0.9644 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8926, allocations: 0 / 0.9644 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8926, allocations: 0 / 0.9644 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.8926, allocations: 0 / 0.9644 GB, free: 2.125 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002067/0.8947, allocations: 1.028 MB / 0.9654 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.8947, allocations: 12.03 kB / 0.9654 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.8962, allocations: 171.9 kB / 0.9656 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008111/0.897, allocations: 0.5132 MB / 0.9661 GB, free: 320 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.897, allocations: 41.31 kB / 0.9661 GB, free: 280 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.8971, allocations: 52 kB / 0.9662 GB, free: 228 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.8983, allocations: 0.6556 MB / 0.9668 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.8983, allocations: 0 / 0.9668 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.8984, allocations: 28 kB / 0.9668 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.8984, allocations: 29.28 kB / 0.9669 GB, free: 15.49 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/0.8994, allocations: 0.5087 MB / 0.9674 GB, free: 14.98 MB / 0.7637 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.003332/0.9028, allocations: 2.292 MB / 0.9696 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.9033, allocations: 263.7 kB / 0.9699 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.9036, allocations: 136.7 kB / 0.97 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.9036, allocations: 4 kB / 0.97 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.9036, allocations: 34.56 kB / 0.97 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=20): time 1.302e-06/0.9036, allocations: 0 / 0.97 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of matching and sorting (n=20): time 0.001643/0.9053, allocations: 0.6657 MB / 0.9707 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.9053, allocations: 85.09 kB / 0.9708 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.906, allocations: 0.5573 MB / 0.9713 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.906, allocations: 29.7 kB / 0.9713 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.9063, allocations: 335.4 kB / 0.9716 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.9064, allocations: 70.94 kB / 0.9717 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.9065, allocations: 69.94 kB / 0.9718 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.9066, allocations: 362.7 kB / 0.9721 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.9069, allocations: 132.6 kB / 0.9723 GB, free: 9.688 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.9072, allocations: 223.1 kB / 0.9725 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.9078, allocations: 330.5 kB / 0.9728 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9078, allocations: 8 kB / 0.9728 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001048/0.9089, allocations: 0.4949 MB / 0.9733 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9089, allocations: 8.281 kB / 0.9733 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.9089, allocations: 4 kB / 0.9733 GB, free: 8.555 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/0.9092, allocations: 95.16 kB / 0.9734 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.9096, allocations: 73.77 kB / 0.9734 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.9128, allocations: 3.329 MB / 0.9767 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9134, allocations: 55.48 kB / 0.9768 GB, free: 4.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.9134, allocations: 16 kB / 0.9768 GB, free: 4.715 MB / 0.7637 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.9138, allocations: 214.3 kB / 0.977 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.9139, allocations: 59.33 kB / 0.977 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.914, allocations: 56.5 kB / 0.9771 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.914, allocations: 4 kB / 0.9771 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.914, allocations: 3.938 kB / 0.9771 GB, free: 4.371 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007294/0.9148, allocations: 0.536 MB / 0.9776 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.9161, allocations: 0.9065 MB / 0.9785 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9162, allocations: 4.062 kB / 0.9785 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.9164, allocations: 48.47 kB / 0.9785 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.9166, allocations: 60.81 kB / 0.9786 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.9166, allocations: 9.797 kB / 0.9786 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.9185, allocations: 1.814 MB / 0.9804 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9185, allocations: 3.984 kB / 0.9804 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.9192, allocations: 439.8 kB / 0.9808 GB, free: 264 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.9194, allocations: 168.4 kB / 0.981 GB, free: 76 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.9195, allocations: 9.906 kB / 0.981 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.92, allocations: 27.3 kB / 0.981 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.9201, allocations: 19.97 kB / 0.981 GB, free: 24 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.9201, allocations: 15.98 kB / 0.981 GB, free: 8 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004719/0.9206, allocations: 390.8 kB / 0.9814 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9206, allocations: 0 / 0.9814 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006879/0.9213, allocations: 207.6 kB / 0.9816 GB, free: 15.43 MB / 0.7794 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004684/0.9218, allocations: 166.4 kB / 0.9818 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009994/0.9228, allocations: 0.5266 MB / 0.9823 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9228, allocations: 4 kB / 0.9823 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.9232, allocations: 251.2 kB / 0.9825 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.9249, allocations: 384.1 kB / 0.9829 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.9266, allocations: 0.9751 MB / 0.9838 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.9272, allocations: 0.9093 MB / 0.9847 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000449/0.9276, allocations: 103.6 kB / 0.9848 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.9277, allocations: 39.44 kB / 0.9849 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.9277, allocations: 0 / 0.9849 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.02185/0.9496, allocations: 13.03 MB / 0.9976 GB, free: 15.32 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)