Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.746/4.746, allocations: 0.5623 GB / 0.5769 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002355/0.002355, allocations: 353.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.944/3.944, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001775, allocations: 186.8 kB / 1.225 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 1.348 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.578, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9535/1.532, allocations: 291 MB / 1.745 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03884/1.57, allocations: 29.25 MB / 1.774 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/1.574, allocations: 84.5 kB / 1.774 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005138/1.579, allocations: 1.468 MB / 1.775 GB, free: 12.61 MB / 0.8542 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: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: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: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. Notification: Performance of NFTyping.typeBindings: time 0.01589/1.595, allocations: 4.95 MB / 1.78 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.009047/1.604, allocations: 2.549 MB / 1.782 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.615, allocations: 8.106 MB / 1.79 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004249/1.619, allocations: 2.154 MB / 1.792 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009469/1.629, allocations: 3.503 MB / 1.796 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004793/1.633, allocations: 2.267 MB / 1.798 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0008405/1.634, allocations: 128.7 kB / 1.798 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006845/1.641, allocations: 1.978 MB / 1.8 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001749/1.643, allocations: 0.8954 MB / 1.801 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/1.644, allocations: 0.6298 MB / 1.802 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006329/1.651, allocations: 3.642 MB / 1.805 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.875e-06/1.651, allocations: 0 / 1.805 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.622e-06/1.651, allocations: 4 kB / 1.805 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.057e-05/1.651, allocations: 0 / 1.805 GB, free: 11.87 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.00777/1.659, allocations: 2.988 MB / 1.808 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/1.659, allocations: 13.12 kB / 1.808 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.671, allocations: 1.583 MB / 1.81 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/1.676, allocations: 1.904 MB / 1.811 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/1.678, allocations: 428 kB / 1.812 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/1.679, allocations: 226.5 kB / 1.812 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008826/1.687, allocations: 3.097 MB / 1.815 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/1.688, allocations: 3.594 kB / 1.815 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000385/1.688, allocations: 88.75 kB / 1.815 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/1.688, allocations: 90.03 kB / 1.815 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/1.699, allocations: 3.206 MB / 1.818 GB, free: 9.102 MB / 0.8542 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.03011/1.729, allocations: 14.29 MB / 1.832 GB, free: 16.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004877/1.734, allocations: 1.69 MB / 1.834 GB, free: 16.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/1.736, allocations: 0.7899 MB / 1.835 GB, free: 16.13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/1.737, allocations: 346 kB / 1.835 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/1.737, allocations: 48.19 kB / 1.835 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001718/1.739, allocations: 208.3 kB / 1.835 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 5.463e-06/1.739, allocations: 0 / 1.835 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110): time 0.007558/1.746, allocations: 2.401 MB / 1.838 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/1.746, allocations: 67.41 kB / 1.838 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005152/1.752, allocations: 2.529 MB / 1.84 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003924/1.752, allocations: 57.86 kB / 1.84 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/1.753, allocations: 1.271 MB / 1.842 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/1.754, allocations: 399.9 kB / 1.842 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/1.754, allocations: 34.31 kB / 1.842 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.754, allocations: 372.1 kB / 1.842 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/1.757, allocations: 0.9945 MB / 1.843 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003801/1.761, allocations: 1.638 MB / 1.845 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/1.765, allocations: 1.204 MB / 1.846 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/1.765, allocations: 4.781 kB / 1.846 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008761/1.774, allocations: 2.881 MB / 1.849 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003483/1.774, allocations: 0.5544 MB / 1.849 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.774, allocations: 15.23 kB / 1.849 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.067e-05/1.774, allocations: 23.84 kB / 1.849 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003894/1.778, allocations: 0.5962 MB / 1.85 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.78, allocations: 2.389 MB / 1.852 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/1.785, allocations: 442.4 kB / 1.853 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004624/1.785, allocations: 91.39 kB / 1.853 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.785, allocations: 3.344 kB / 1.853 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009037/1.794, allocations: 2.646 MB / 1.855 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/1.794, allocations: 12.59 kB / 1.855 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/1.795, allocations: 24.97 kB / 1.855 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/1.798, allocations: 0.5374 MB / 1.856 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-05/1.798, allocations: 32.33 kB / 1.856 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004302/1.802, allocations: 381.9 kB / 1.856 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/1.803, allocations: 95.8 kB / 1.856 GB, free: 6.969 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001845/1.805, allocations: 0.6249 MB / 1.857 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007025/1.805, allocations: 259.7 kB / 1.857 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005461/1.811, allocations: 1.88 MB / 1.859 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.811, allocations: 10.34 kB / 1.859 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.811, allocations: 0 / 1.859 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.811, allocations: 3.984 kB / 1.859 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.823, allocations: 4.529 MB / 1.864 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.823, allocations: 4.062 kB / 1.864 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.826, allocations: 319.1 kB / 1.864 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.338e-05/1.826, allocations: 9.438 kB / 1.864 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002323/1.826, allocations: 34.69 kB / 1.864 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/1.828, allocations: 2.372 MB / 1.866 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.273e-06/1.828, allocations: 12.66 kB / 1.866 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/1.833, allocations: 1.998 MB / 1.868 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.835, allocations: 0.5487 MB / 1.869 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007015/1.836, allocations: 26.59 kB / 1.869 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003893/1.84, allocations: 281.9 kB / 1.869 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.84, allocations: 77.7 kB / 1.869 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/1.841, allocations: 62.86 kB / 1.869 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004988/1.846, allocations: 1.75 MB / 1.871 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.199e-06/1.846, allocations: 1.859 kB / 1.871 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005859/1.852, allocations: 1.302 MB / 1.872 GB, free: 372 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/1.853, allocations: 374.9 kB / 1.873 GB, free: 68 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01238/1.865, allocations: 3.703 MB / 1.876 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.865, allocations: 1.75 kB / 1.876 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.868, allocations: 0.8289 MB / 1.877 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009899/1.878, allocations: 1.214 MB / 1.878 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.89, allocations: 5.019 MB / 1.883 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/1.892, allocations: 1.749 MB / 1.885 GB, free: 5.246 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00593/1.898, allocations: 0.7857 MB / 1.886 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.899, allocations: 197.4 kB / 1.886 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of SimCode: time 2.083e-06/1.899, allocations: 0 / 1.886 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of Templates: time 0.1099/2.009, allocations: 44.49 MB / 1.929 GB, free: 8.723 MB / 0.9323 GB