Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.635/1.635, allocations: 287.4 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009551/0.0009551, allocations: 190 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007626/0.0007624, allocations: 103.6 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004474, allocations: 19.92 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6112/0.7696, allocations: 300.3 MB / 1.273 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03296/0.8026, allocations: 27.79 MB / 1.3 GB, free: 3.559 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.8057, allocations: 83.44 kB / 1.3 GB, free: 3.477 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.81, allocations: 1.316 MB / 1.301 GB, free: 2.152 MB / 0.823 GB [/home/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. [/home/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. [/home/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. [/home/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. [/home/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. [/home/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. [/home/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. [/home/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.01028/0.8203, allocations: 3.659 MB / 1.305 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007507/0.8278, allocations: 2.589 MB / 1.307 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.009686/0.8375, allocations: 8.159 MB / 1.315 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.8415, allocations: 2.324 MB / 1.317 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.8517, allocations: 4.077 MB / 1.321 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.8556, allocations: 2.269 MB / 1.324 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007631/0.8564, allocations: 128 kB / 1.324 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006586/0.863, allocations: 2.682 MB / 1.326 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.8643, allocations: 0.8837 MB / 1.327 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.8655, allocations: 0.6329 MB / 1.328 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004947/0.8705, allocations: 3.916 MB / 1.332 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8705, allocations: 8 kB / 1.332 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8705, allocations: 0 / 1.332 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.221e-05/0.8706, allocations: 4 kB / 1.332 GB, free: 2.699 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.005747/0.8763, allocations: 3.043 MB / 1.335 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8764, allocations: 8.031 kB / 1.335 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00893/0.8853, allocations: 1.581 MB / 1.336 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.8888, allocations: 1.976 MB / 1.338 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/0.89, allocations: 440.1 kB / 1.339 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.8904, allocations: 224 kB / 1.339 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.8961, allocations: 3.089 MB / 1.342 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.8961, allocations: 3.938 kB / 1.342 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.8964, allocations: 91.98 kB / 1.342 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.875e-05/0.8965, allocations: 92 kB / 1.342 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006733/0.9032, allocations: 3.201 MB / 1.345 GB, free: 4.641 MB / 0.8698 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.0335/0.9367, allocations: 14.31 MB / 1.359 GB, free: 5.227 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/0.9441, allocations: 1.695 MB / 1.361 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003234/0.9474, allocations: 0.7919 MB / 1.361 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/0.9484, allocations: 345.1 kB / 1.362 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.9485, allocations: 51.56 kB / 1.362 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001722/0.9502, allocations: 194.2 kB / 1.362 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 5.981e-06/0.9502, allocations: 0 / 1.362 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.01081/0.9611, allocations: 2.41 MB / 1.364 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.9611, allocations: 60.41 kB / 1.364 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007081/0.9682, allocations: 2.54 MB / 1.367 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.9685, allocations: 53.7 kB / 1.367 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.9701, allocations: 1.268 MB / 1.368 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.9706, allocations: 394.4 kB / 1.369 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.9708, allocations: 36 kB / 1.369 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.971, allocations: 369.9 kB / 1.369 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005182/0.9762, allocations: 0.9954 MB / 1.37 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005984/0.9823, allocations: 1.638 MB / 1.372 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007953/0.9902, allocations: 2.312 MB / 1.374 GB, free: 5.484 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.9903, allocations: 19.81 kB / 1.374 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008688/0.999, allocations: 2.879 MB / 1.377 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003769/0.9994, allocations: 0.5509 MB / 1.377 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.9994, allocations: 12 kB / 1.377 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/0.9994, allocations: 24 kB / 1.377 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/1.003, allocations: 0.5889 MB / 1.378 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/1.004, allocations: 2.387 MB / 1.38 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/1.008, allocations: 444.9 kB / 1.381 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.008, allocations: 91.95 kB / 1.381 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/1.008, allocations: 4 kB / 1.381 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005792/1.014, allocations: 2.65 MB / 1.383 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.014, allocations: 12 kB / 1.383 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.014, allocations: 24 kB / 1.383 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.016, allocations: 0.535 MB / 1.384 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.016, allocations: 31.86 kB / 1.384 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.019, allocations: 379.3 kB / 1.384 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/1.019, allocations: 95.89 kB / 1.384 GB, free: 10.45 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.00109/1.02, allocations: 0.6293 MB / 1.385 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.021, allocations: 256.8 kB / 1.385 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/1.025, allocations: 1.878 MB / 1.387 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.025, allocations: 3.984 kB / 1.387 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.025, allocations: 0 / 1.387 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009097/1.026, allocations: 0.5405 MB / 1.387 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.026, allocations: 16 kB / 1.387 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/1.028, allocations: 276.5 kB / 1.388 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.029, allocations: 60.91 kB / 1.388 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004553/1.033, allocations: 1.785 MB / 1.39 GB, free: 4.941 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005531/1.039, allocations: 2.853 MB / 1.392 GB, free: 2.07 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001563/1.04, allocations: 0.73 MB / 1.393 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002867/1.043, allocations: 1.743 MB / 1.395 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of Backend: time 4.71e-07/1.043, allocations: 0 / 1.395 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009618/1.053, allocations: 4 MB / 1.399 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of SimCode: time 0.009269/1.062, allocations: 5.829 MB / 1.404 GB, free: 5.691 MB / 0.9323 GB Notification: Performance of Templates: time 0.4001/1.462, allocations: 63.9 MB / 1.467 GB, free: 335.3 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)