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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.000936/0.000936, allocations: 186.7 kB / 325.9 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.233/1.233, allocations: 205 MB / 0.576 GB, free: 21 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.0006736/0.0006736, allocations: 88.61 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002587, allocations: 12.25 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5505/0.6815, allocations: 326.6 MB / 1.215 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03227/0.7138, allocations: 30.21 MB / 1.245 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.7169, allocations: 87.44 kB / 1.245 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004476/0.7214, allocations: 1.788 MB / 1.247 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.7323, allocations: 5.039 MB / 1.251 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.006869/0.7392, allocations: 3.369 MB / 1.255 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00874/0.748, allocations: 9.859 MB / 1.264 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002966/0.751, allocations: 2.366 MB / 1.267 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009599/0.7606, allocations: 4.485 MB / 1.271 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.7645, allocations: 2.504 MB / 1.273 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.765, allocations: 128 kB / 1.274 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007372/0.7724, allocations: 5.588 MB / 1.279 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0009/0.7733, allocations: 0.9108 MB / 1.28 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.775, allocations: 1.543 MB / 1.281 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005554/0.7805, allocations: 5.833 MB / 1.287 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.7805, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7806, allocations: 3.938 kB / 1.287 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.7806, allocations: 0 / 1.287 GB, free: 7.352 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.004764/0.7854, allocations: 3.018 MB / 1.29 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.7854, allocations: 12.03 kB / 1.29 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/0.7857, allocations: 311.8 kB / 1.29 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007841/0.7936, allocations: 1.569 MB / 1.292 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.7963, allocations: 1.977 MB / 1.294 GB, free: 332 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/0.7975, allocations: 431.9 kB / 1.294 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.7977, allocations: 219.9 kB / 1.295 GB, free: 15.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004748/0.8025, allocations: 3.137 MB / 1.298 GB, free: 12.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.8025, allocations: 3.938 kB / 1.298 GB, free: 12.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.8027, allocations: 99.98 kB / 1.298 GB, free: 12.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.8028, allocations: 92.05 kB / 1.298 GB, free: 12.21 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005941/0.8088, allocations: 3.221 MB / 1.301 GB, free: 8.969 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.01827/0.827, allocations: 14.29 MB / 1.315 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.8305, allocations: 1.693 MB / 1.317 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.8319, allocations: 0.7969 MB / 1.317 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.8325, allocations: 340.2 kB / 1.318 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.8325, allocations: 51.56 kB / 1.318 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000757/0.8333, allocations: 194 kB / 1.318 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 4.93e-06/0.8333, allocations: 4 kB / 1.318 GB, free: 6.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.004901/0.8382, allocations: 2.418 MB / 1.32 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.8382, allocations: 60.41 kB / 1.32 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.8413, allocations: 2.538 MB / 1.323 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.8415, allocations: 57.7 kB / 1.323 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.8422, allocations: 1.244 MB / 1.324 GB, free: 48 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.8425, allocations: 386.7 kB / 1.324 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.8427, allocations: 137.6 kB / 1.325 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.8428, allocations: 305.1 kB / 1.325 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.845, allocations: 0.9993 MB / 1.326 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/0.8476, allocations: 1.587 MB / 1.327 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.8517, allocations: 2.346 MB / 1.33 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.8518, allocations: 4 kB / 1.33 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005652/0.8574, allocations: 2.894 MB / 1.332 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.8577, allocations: 0.5773 MB / 1.333 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8577, allocations: 12 kB / 1.333 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.8578, allocations: 27.94 kB / 1.333 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.8604, allocations: 0.5968 MB / 1.334 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.8614, allocations: 2.387 MB / 1.336 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/0.8643, allocations: 447.3 kB / 1.336 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.8644, allocations: 95.94 kB / 1.336 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.512e-06/0.8645, allocations: 10.03 kB / 1.337 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005118/0.8696, allocations: 2.65 MB / 1.339 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.8696, allocations: 20.06 kB / 1.339 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.8696, allocations: 24 kB / 1.339 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.8717, allocations: 0.5422 MB / 1.34 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.8718, allocations: 31.92 kB / 1.34 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.874, allocations: 387.3 kB / 1.34 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.8742, allocations: 83.97 kB / 1.34 GB, free: 14.71 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.0008505/0.8751, allocations: 0.6384 MB / 1.341 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.8754, allocations: 260.8 kB / 1.341 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.879, allocations: 1.882 MB / 1.343 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.879, allocations: 16 kB / 1.343 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.879, allocations: 3.984 kB / 1.343 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.879, allocations: 3.984 kB / 1.343 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006615/0.8857, allocations: 4.539 MB / 1.347 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8857, allocations: 4 kB / 1.347 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8871, allocations: 319.9 kB / 1.348 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.8871, allocations: 12 kB / 1.348 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.8872, allocations: 27.98 kB / 1.348 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/0.8881, allocations: 2.367 MB / 1.35 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.8881, allocations: 11.94 kB / 1.35 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.8914, allocations: 2.01 MB / 1.352 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007507/0.8922, allocations: 0.5368 MB / 1.352 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.8925, allocations: 27.94 kB / 1.352 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/0.8946, allocations: 301.8 kB / 1.353 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8947, allocations: 88.72 kB / 1.353 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.8948, allocations: 59.95 kB / 1.353 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002291/0.8971, allocations: 1.758 MB / 1.355 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8971, allocations: 3.938 kB / 1.355 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002504/0.8997, allocations: 1.302 MB / 1.356 GB, free: 14.18 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.004024/0.9037, allocations: 2.831 MB / 1.359 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007134/0.9108, allocations: 3.706 MB / 1.362 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9108, allocations: 8.547 kB / 1.362 GB, free: 7.508 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.9125, allocations: 0.8266 MB / 1.363 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/0.9189, allocations: 1.324 MB / 1.364 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/0.9513, allocations: 22.38 MB / 1.386 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.9524, allocations: 1.685 MB / 1.388 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003041/0.9554, allocations: 0.7777 MB / 1.389 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.9567, allocations: 1.011 MB / 1.39 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.9567, allocations: 3.938 kB / 1.39 GB, free: 9.504 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9018/1.859, allocations: 70.91 MB / 1.459 GB, free: 329.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.859, allocations: 287.3 kB / 1.459 GB, free: 329.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/6.526, allocations: 7.531 kB / 1.459 GB, free: 329.1 MB / 0.9167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)