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.29/1.29, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0009113/0.0009113, allocations: 175.5 kB / 326.5 MB, free: 2.703 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.389/1.389, allocations: 205 MB / 0.5767 GB, free: 20.99 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.0006977/0.0006978, allocations: 86.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003343, allocations: 12.34 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6229/0.7881, allocations: 326.6 MB / 1.216 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0324/0.8205, allocations: 30.22 MB / 1.245 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.8242, allocations: 87.44 kB / 1.245 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005181/0.8294, allocations: 1.78 MB / 1.247 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.8423, allocations: 5.058 MB / 1.252 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.008138/0.8505, allocations: 3.351 MB / 1.255 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.8611, allocations: 9.849 MB / 1.265 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/0.8648, allocations: 2.37 MB / 1.267 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01393/0.8787, allocations: 4.491 MB / 1.272 GB, free: 7.961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005124/0.8838, allocations: 2.507 MB / 1.274 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.8846, allocations: 128 kB / 1.274 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.8952, allocations: 5.58 MB / 1.28 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001521/0.8968, allocations: 0.9148 MB / 1.281 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.899, allocations: 1.539 MB / 1.282 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.008812/0.9078, allocations: 5.829 MB / 1.288 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9078, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9079, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.368e-05/0.908, allocations: 0 / 1.288 GB, free: 7.426 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.006214/0.9142, allocations: 3.03 MB / 1.291 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9142, allocations: 12.02 kB / 1.291 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00911/0.9234, allocations: 1.577 MB / 1.292 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.9273, allocations: 1.975 MB / 1.294 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001294/0.9286, allocations: 431.9 kB / 1.295 GB, free: 276 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.9291, allocations: 220 kB / 1.295 GB, free: 56 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.9351, allocations: 3.137 MB / 1.298 GB, free: 12.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.9351, allocations: 4 kB / 1.298 GB, free: 12.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.9354, allocations: 95.98 kB / 1.298 GB, free: 12.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-05/0.9355, allocations: 92 kB / 1.298 GB, free: 12.58 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00692/0.9424, allocations: 3.225 MB / 1.301 GB, free: 9.34 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.02214/0.9646, allocations: 14.29 MB / 1.315 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003764/0.9684, allocations: 1.693 MB / 1.317 GB, free: 8.246 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.97, allocations: 0.7885 MB / 1.318 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.9707, allocations: 340.2 kB / 1.318 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.9708, allocations: 55.5 kB / 1.318 GB, free: 7 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00122/0.972, allocations: 198 kB / 1.318 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 5.991e-06/0.972, allocations: 0 / 1.318 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.005638/0.9777, allocations: 2.414 MB / 1.32 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9777, allocations: 60.41 kB / 1.321 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/0.9817, allocations: 2.53 MB / 1.323 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.9819, allocations: 61.7 kB / 1.323 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009055/0.9828, allocations: 1.248 MB / 1.324 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.9831, allocations: 394.5 kB / 1.325 GB, free: 40 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.9833, allocations: 133.6 kB / 1.325 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.9834, allocations: 305.1 kB / 1.325 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.9859, allocations: 0.9993 MB / 1.326 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.9887, allocations: 1.587 MB / 1.328 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/0.9932, allocations: 2.354 MB / 1.33 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.9932, allocations: 4 kB / 1.33 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00639/0.9996, allocations: 2.895 MB / 1.333 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003855/1, allocations: 0.5789 MB / 1.333 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1, allocations: 12 kB / 1.333 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-05/1, allocations: 24 kB / 1.333 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.003, allocations: 0.589 MB / 1.334 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/1.004, allocations: 2.391 MB / 1.336 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/1.008, allocations: 447.5 kB / 1.337 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.008, allocations: 95.95 kB / 1.337 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/1.008, allocations: 4 kB / 1.337 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005856/1.014, allocations: 2.661 MB / 1.339 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.014, allocations: 12 kB / 1.339 GB, free: 156 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/1.014, allocations: 27.94 kB / 1.339 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.016, allocations: 0.5352 MB / 1.34 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.65e-05/1.016, allocations: 35.86 kB / 1.34 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.019, allocations: 382.7 kB / 1.34 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.02, allocations: 95.95 kB / 1.34 GB, free: 15.09 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 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_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.001114/1.021, allocations: 0.63 MB / 1.341 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005657/1.021, allocations: 256.9 kB / 1.341 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/1.025, allocations: 1.889 MB / 1.343 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.025, allocations: 7.969 kB / 1.343 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.025, allocations: 0 / 1.343 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/1.027, allocations: 0.5251 MB / 1.344 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000452/1.027, allocations: 16 kB / 1.344 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.03, allocations: 289.7 kB / 1.344 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.03, allocations: 60.92 kB / 1.344 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004725/1.035, allocations: 1.793 MB / 1.346 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005822/1.04, allocations: 2.857 MB / 1.349 GB, free: 6.688 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001511/1.042, allocations: 0.7416 MB / 1.349 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003323/1.045, allocations: 1.758 MB / 1.351 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of Backend: time 5.51e-07/1.045, allocations: 0 / 1.351 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.056, allocations: 4.036 MB / 1.355 GB, free: 124 kB / 0.8698 GB Notification: Performance of SimCode: time 0.01053/1.066, allocations: 6.015 MB / 1.361 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.3858/1.452, allocations: 65 MB / 1.424 GB, free: 351.9 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)