Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002528/0.002532, allocations: 355.9 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.48/1.48, allocations: 165.9 MB / 182.5 MB, free: 5.914 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.327/4.327, allocations: 410.7 MB / 0.5995 GB, free: 2.184 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001861/0.001861, allocations: 176 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004756, allocations: 12 kB / 0.7423 GB, free: 40 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3901, allocations: 67.44 MB / 0.8081 GB, free: 245.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1602/0.5504, allocations: 154.2 MB / 0.9587 GB, free: 103 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00654/0.557, allocations: 4.342 MB / 0.9629 GB, free: 98.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.5578, allocations: 15.88 kB / 0.963 GB, free: 98.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0008748/0.5587, allocations: 282.3 kB / 0.9632 GB, free: 98.36 MB / 0.5886 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003185/0.5619, allocations: 1.069 MB / 0.9643 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002676/0.5646, allocations: 0.7638 MB / 0.965 GB, free: 96.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.5664, allocations: 1.516 MB / 0.9665 GB, free: 95.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005638/0.567, allocations: 363.3 kB / 0.9668 GB, free: 94.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.5681, allocations: 0.5212 MB / 0.9674 GB, free: 94.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.5688, allocations: 430.4 kB / 0.9678 GB, free: 93.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.5689, allocations: 24 kB / 0.9678 GB, free: 93.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.5703, allocations: 0.6039 MB / 0.9684 GB, free: 93.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.5705, allocations: 175.4 kB / 0.9685 GB, free: 92.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.5707, allocations: 141.4 kB / 0.9687 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.5718, allocations: 0.7945 MB / 0.9695 GB, free: 91.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.434e-06/0.5718, allocations: 3.188 kB / 0.9695 GB, free: 91.99 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.768e-06/0.5718, allocations: 0 / 0.9695 GB, free: 91.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.5718, allocations: 4 kB / 0.9695 GB, free: 91.98 MB / 0.5886 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.001501/0.5733, allocations: 0.846 MB / 0.9703 GB, free: 91.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5734, allocations: 12.03 kB / 0.9703 GB, free: 91.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.5754, allocations: 283 kB / 0.9706 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009714/0.5764, allocations: 473.8 kB / 0.971 GB, free: 90.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.5768, allocations: 92.94 kB / 0.9711 GB, free: 90.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.5769, allocations: 51.94 kB / 0.9712 GB, free: 90.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.5784, allocations: 0.6225 MB / 0.9718 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5785, allocations: 0 / 0.9718 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.5786, allocations: 24 kB / 0.9718 GB, free: 89.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.5786, allocations: 24.92 kB / 0.9718 GB, free: 89.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5803, allocations: 0.5823 MB / 0.9724 GB, free: 88.89 MB / 0.5886 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.004769/0.5851, allocations: 2.298 MB / 0.9746 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.5864, allocations: 322.3 kB / 0.9749 GB, free: 86.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.5871, allocations: 184.7 kB / 0.9751 GB, free: 85.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.5871, allocations: 224 / 0.9751 GB, free: 85.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5872, allocations: 42.5 kB / 0.9752 GB, free: 85.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.5872, allocations: 0 / 0.9752 GB, free: 85.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.005979/0.5932, allocations: 1.193 MB / 0.9763 GB, free: 84.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.5932, allocations: 77.11 kB / 0.9764 GB, free: 84.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007667/0.594, allocations: 0.5457 MB / 0.9769 GB, free: 84.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.5941, allocations: 29.7 kB / 0.977 GB, free: 84.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5943, allocations: 303.4 kB / 0.9772 GB, free: 83.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.5944, allocations: 35.53 kB / 0.9773 GB, free: 83.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5944, allocations: 8 kB / 0.9773 GB, free: 83.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.5945, allocations: 354.8 kB / 0.9776 GB, free: 83.31 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.5954, allocations: 207.8 kB / 0.9778 GB, free: 83.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.5962, allocations: 306 kB / 0.9781 GB, free: 82.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.597, allocations: 211.9 kB / 0.9783 GB, free: 82.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.597, allocations: 4 kB / 0.9783 GB, free: 82.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0031/0.6001, allocations: 0.7772 MB / 0.9791 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.6002, allocations: 11.44 kB / 0.9791 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.892e-06/0.6002, allocations: 3 kB / 0.9791 GB, free: 81.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007245/0.6009, allocations: 198.1 kB / 0.9793 GB, free: 81.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.6014, allocations: 75.94 kB / 0.9794 GB, free: 81.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.6061, allocations: 2.198 MB / 0.9815 GB, free: 79.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.607, allocations: 95.47 kB / 0.9816 GB, free: 79.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.607, allocations: 12 kB / 0.9816 GB, free: 79.08 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.6074, allocations: 191.8 kB / 0.9818 GB, free: 78.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6075, allocations: 51.44 kB / 0.9818 GB, free: 78.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.6076, allocations: 51.92 kB / 0.9819 GB, free: 78.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.681e-06/0.6076, allocations: 7.984 kB / 0.9819 GB, free: 78.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.201e-06/0.6076, allocations: 0 / 0.9819 GB, free: 78.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.992e-06/0.6077, allocations: 0 / 0.9819 GB, free: 78.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.6111, allocations: 1.187 MB / 0.983 GB, free: 77.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6112, allocations: 0 / 0.983 GB, free: 77.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.6115, allocations: 52.02 kB / 0.9831 GB, free: 77.47 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006579/0.6122, allocations: 186 kB / 0.9833 GB, free: 77.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.6122, allocations: 11.98 kB / 0.9833 GB, free: 77.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003757/0.616, allocations: 2.052 MB / 0.9853 GB, free: 75.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.3e-06/0.616, allocations: 0 / 0.9853 GB, free: 75.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.6189, allocations: 0.7699 MB / 0.986 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.6193, allocations: 168.4 kB / 0.9862 GB, free: 74.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.6194, allocations: 4 kB / 0.9862 GB, free: 74.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.6201, allocations: 71 kB / 0.9863 GB, free: 74.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.6202, allocations: 11.98 kB / 0.9863 GB, free: 74.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.6203, allocations: 11.98 kB / 0.9863 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005235/0.6208, allocations: 390.8 kB / 0.9867 GB, free: 73.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.78e-07/0.6209, allocations: 0 / 0.9867 GB, free: 73.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0008298/0.6217, allocations: 175.8 kB / 0.9868 GB, free: 73.47 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004165/0.6221, allocations: 176 kB / 0.987 GB, free: 73.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002407/0.6246, allocations: 0.6466 MB / 0.9876 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.031e-06/0.6246, allocations: 4.375 kB / 0.9876 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000849/0.6255, allocations: 314.7 kB / 0.9879 GB, free: 72.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.6274, allocations: 300.1 kB / 0.9882 GB, free: 72.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.6307, allocations: 1.256 MB / 0.9895 GB, free: 70.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.6311, allocations: 0.8741 MB / 0.9903 GB, free: 69.85 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006618/0.6318, allocations: 104.9 kB / 0.9904 GB, free: 69.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.632, allocations: 35.42 kB / 0.9904 GB, free: 69.72 MB / 0.5886 GB Notification: Performance of SimCode: time 1.671e-06/0.632, allocations: 0 / 0.9904 GB, free: 69.72 MB / 0.5886 GB Notification: Performance of Templates: time 0.02305/0.655, allocations: 11.36 MB / 1.002 GB, free: 58.74 MB / 0.5886 GB