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.842/4.842, allocations: 0.5623 GB / 0.5775 GB, free: 3.391 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.002428/0.002428, allocations: 353.5 kB / 0.6447 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.933/3.933, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 179.4 kB / 1.226 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 12.56 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1948, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.051/1.246, allocations: 291 MB / 1.746 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.05386/1.3, allocations: 29.24 MB / 1.774 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/1.303, allocations: 83.44 kB / 1.774 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.006813/1.31, allocations: 1.467 MB / 1.776 GB, free: 6.219 MB / 0.8386 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.01909/1.329, allocations: 4.967 MB / 1.78 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/1.34, allocations: 2.552 MB / 1.783 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01417/1.355, allocations: 8.091 MB / 1.791 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005057/1.36, allocations: 2.163 MB / 1.793 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/1.371, allocations: 3.497 MB / 1.796 GB, free: 0.875 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/1.377, allocations: 2.269 MB / 1.799 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007969/1.378, allocations: 128 kB / 1.799 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008104/1.386, allocations: 1.979 MB / 1.801 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001958/1.388, allocations: 0.8876 MB / 1.802 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/1.389, allocations: 0.6329 MB / 1.802 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.007707/1.397, allocations: 3.643 MB / 1.806 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.397, allocations: 3.938 kB / 1.806 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.796e-06/1.397, allocations: 0 / 1.806 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001156/1.397, allocations: 0 / 1.806 GB, free: 7.297 MB / 0.8698 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.01019/1.408, allocations: 2.992 MB / 1.809 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.408, allocations: 8.031 kB / 1.809 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/1.426, allocations: 1.577 MB / 1.81 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/1.432, allocations: 1.911 MB / 1.812 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002416/1.435, allocations: 436.2 kB / 1.812 GB, free: 224 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/1.435, allocations: 220 kB / 1.813 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/1.446, allocations: 3.089 MB / 1.816 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.081e-05/1.446, allocations: 3.938 kB / 1.816 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004098/1.446, allocations: 92 kB / 1.816 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/1.446, allocations: 88 kB / 1.816 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.459, allocations: 3.201 MB / 1.819 GB, free: 9.375 MB / 0.8855 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.0373/1.496, allocations: 14.3 MB / 1.833 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007203/1.503, allocations: 1.692 MB / 1.835 GB, free: 8.277 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00316/1.506, allocations: 0.7919 MB / 1.835 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/1.508, allocations: 336.8 kB / 1.836 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/1.508, allocations: 55.56 kB / 1.836 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001816/1.509, allocations: 202 kB / 1.836 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.519e-06/1.509, allocations: 0 / 1.836 GB, free: 6.836 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.01016/1.52, allocations: 2.406 MB / 1.838 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.52, allocations: 68.39 kB / 1.838 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006116/1.526, allocations: 2.536 MB / 1.841 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/1.526, allocations: 57.7 kB / 1.841 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.528, allocations: 1.272 MB / 1.842 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000554/1.528, allocations: 386.5 kB / 1.842 GB, free: 56 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/1.529, allocations: 36 kB / 1.843 GB, free: 20 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.529, allocations: 369.9 kB / 1.843 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004719/1.534, allocations: 0.9954 MB / 1.844 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/1.539, allocations: 1.638 MB / 1.845 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/1.544, allocations: 1.216 MB / 1.847 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.544, allocations: 4 kB / 1.847 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01162/1.556, allocations: 2.883 MB / 1.849 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/1.556, allocations: 0.5428 MB / 1.85 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/1.556, allocations: 15.95 kB / 1.85 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.874e-05/1.556, allocations: 24 kB / 1.85 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005815/1.562, allocations: 0.5968 MB / 1.851 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.564, allocations: 2.387 MB / 1.853 GB, free: 4.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006591/1.571, allocations: 451.3 kB / 1.853 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/1.571, allocations: 91.95 kB / 1.853 GB, free: 4.219 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.571, allocations: 4 kB / 1.853 GB, free: 4.215 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/1.582, allocations: 2.643 MB / 1.856 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/1.582, allocations: 20.11 kB / 1.856 GB, free: 1.539 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/1.582, allocations: 24 kB / 1.856 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.587, allocations: 0.5382 MB / 1.857 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/1.587, allocations: 31.92 kB / 1.857 GB, free: 0.9453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.596, allocations: 375.4 kB / 1.857 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004548/1.596, allocations: 87.95 kB / 1.857 GB, free: 0.4922 MB / 0.9167 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.00234/1.598, allocations: 0.6333 MB / 1.858 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009207/1.599, allocations: 260.8 kB / 1.858 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008171/1.607, allocations: 1.874 MB / 1.86 GB, free: 13.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/1.608, allocations: 7.938 kB / 1.86 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.608, allocations: 4 kB / 1.86 GB, free: 13.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.609, allocations: 0.5289 MB / 1.86 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/1.61, allocations: 20 kB / 1.86 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004507/1.614, allocations: 293.3 kB / 1.861 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.615, allocations: 56.91 kB / 1.861 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008462/1.623, allocations: 1.785 MB / 1.862 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01041/1.633, allocations: 2.841 MB / 1.865 GB, free: 8.109 MB / 0.9323 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002915/1.636, allocations: 0.7339 MB / 1.866 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00484/1.641, allocations: 1.743 MB / 1.868 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of Backend: time 7.61e-07/1.641, allocations: 0 / 1.868 GB, free: 5.629 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.658, allocations: 3.791 MB / 1.871 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of SimCode: time 0.01706/1.675, allocations: 5.832 MB / 1.877 GB, free: 11.92 MB / 0.948 GB Notification: Performance of Templates: time 0.7646/2.439, allocations: 60.3 MB / 1.936 GB, free: 332.2 MB / 0.948 GB