Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 172.5 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007765/0.0007766, allocations: 86.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 13.58 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1674, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6715/0.839, allocations: 322.5 MB / 1.216 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03584/0.8748, allocations: 29.87 MB / 1.246 GB, free: 1.875 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004013/0.8789, allocations: 83.44 kB / 1.246 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.006087/0.885, allocations: 1.784 MB / 1.247 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.9002, allocations: 5.053 MB / 1.252 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.008989/0.9092, allocations: 3.358 MB / 1.256 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01209/0.9213, allocations: 9.854 MB / 1.265 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00485/0.9262, allocations: 2.375 MB / 1.268 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.94, allocations: 4.482 MB / 1.272 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005729/0.9458, allocations: 2.514 MB / 1.274 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.9469, allocations: 128 kB / 1.274 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.9582, allocations: 5.584 MB / 1.28 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001976/0.9602, allocations: 0.9109 MB / 1.281 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.964, allocations: 1.572 MB / 1.282 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.006744/0.9707, allocations: 4.167 MB / 1.286 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9708, allocations: 0 / 1.286 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9708, allocations: 4 kB / 1.286 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001804/0.971, allocations: 0 / 1.286 GB, free: 7.879 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.007648/0.9786, allocations: 3.038 MB / 1.289 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.9787, allocations: 8.031 kB / 1.289 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/0.9884, allocations: 1.573 MB / 1.291 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004469/0.993, allocations: 1.971 MB / 1.293 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/0.9943, allocations: 427.9 kB / 1.293 GB, free: 0.7305 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006328/0.9949, allocations: 228 kB / 1.293 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/1.002, allocations: 3.133 MB / 1.297 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.872e-05/1.002, allocations: 0 / 1.297 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003846/1.003, allocations: 92 kB / 1.297 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-05/1.003, allocations: 96.05 kB / 1.297 GB, free: 13.04 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007304/1.01, allocations: 3.221 MB / 1.3 GB, free: 9.805 MB / 0.823 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.02268/1.033, allocations: 14.29 MB / 1.314 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003849/1.037, allocations: 1.696 MB / 1.315 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.038, allocations: 0.7891 MB / 1.316 GB, free: 7.906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/1.039, allocations: 340.5 kB / 1.317 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/1.039, allocations: 47.56 kB / 1.317 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001355/1.04, allocations: 206 kB / 1.317 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 5.53e-06/1.04, allocations: 0 / 1.317 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.005732/1.046, allocations: 2.414 MB / 1.319 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/1.046, allocations: 64.41 kB / 1.319 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/1.05, allocations: 2.534 MB / 1.322 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/1.051, allocations: 57.7 kB / 1.322 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009354/1.052, allocations: 1.241 MB / 1.323 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/1.052, allocations: 390.5 kB / 1.323 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.052, allocations: 32 kB / 1.323 GB, free: 484 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001923/1.052, allocations: 369.9 kB / 1.324 GB, free: 108 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/1.055, allocations: 0.9994 MB / 1.325 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.058, allocations: 1.583 MB / 1.326 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00471/1.063, allocations: 2.358 MB / 1.329 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.063, allocations: 4 kB / 1.329 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006834/1.069, allocations: 2.891 MB / 1.331 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003829/1.07, allocations: 0.583 MB / 1.332 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.07, allocations: 23.92 kB / 1.332 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/1.07, allocations: 20 kB / 1.332 GB, free: 6.938 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/1.073, allocations: 0.6006 MB / 1.333 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/1.074, allocations: 2.383 MB / 1.335 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.078, allocations: 450.3 kB / 1.335 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/1.078, allocations: 95.95 kB / 1.335 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.078, allocations: 4 kB / 1.335 GB, free: 3.328 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006281/1.085, allocations: 2.665 MB / 1.338 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/1.085, allocations: 16 kB / 1.338 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/1.085, allocations: 20 kB / 1.338 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.087, allocations: 0.5388 MB / 1.339 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.141e-05/1.087, allocations: 35.86 kB / 1.339 GB, free: 40 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003312/1.091, allocations: 371.4 kB / 1.339 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/1.091, allocations: 87.95 kB / 1.339 GB, free: 15.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001402/1.092, allocations: 0.6332 MB / 1.34 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006433/1.093, allocations: 260.8 kB / 1.34 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/1.098, allocations: 1.878 MB / 1.342 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.098, allocations: 12 kB / 1.342 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.098, allocations: 0 / 1.342 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.098, allocations: 11.97 kB / 1.342 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009313/1.107, allocations: 4.546 MB / 1.346 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.107, allocations: 4 kB / 1.346 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.109, allocations: 316.3 kB / 1.347 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/1.109, allocations: 19.92 kB / 1.347 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.109, allocations: 27.98 kB / 1.347 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/1.11, allocations: 2.372 MB / 1.349 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.11, allocations: 11.94 kB / 1.349 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/1.114, allocations: 2.01 MB / 1.351 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.115, allocations: 0.5523 MB / 1.351 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/1.116, allocations: 31.94 kB / 1.351 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002644/1.118, allocations: 296.8 kB / 1.352 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.119, allocations: 84.78 kB / 1.352 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.119, allocations: 59.95 kB / 1.352 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002983/1.122, allocations: 1.758 MB / 1.354 GB, free: 356 kB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.122, allocations: 0 / 1.354 GB, free: 356 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003938/1.126, allocations: 1.306 MB / 1.355 GB, free: 15.04 MB / 0.8855 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008427/1.127, allocations: 377 kB / 1.355 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008841/1.136, allocations: 3.707 MB / 1.359 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.136, allocations: 4 kB / 1.359 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.138, allocations: 0.823 MB / 1.36 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008453/1.146, allocations: 1.33 MB / 1.361 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/1.154, allocations: 5.304 MB / 1.366 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.155, allocations: 1.681 MB / 1.368 GB, free: 1.652 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/1.156, allocations: 239.3 kB / 1.368 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/1.156, allocations: 0 / 1.368 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of Templates: time 0.4729/1.629, allocations: 84.69 MB / 1.451 GB, free: 334.1 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)