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.626/1.626, allocations: 252 MB / 267.3 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.001244/0.001244, allocations: 174.2 kB / 327 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.684/1.684, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0007556/0.0007555, allocations: 90.28 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 11.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7527/0.9744, allocations: 322.5 MB / 1.216 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05376/1.028, allocations: 29.87 MB / 1.245 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006456/1.035, allocations: 83.44 kB / 1.245 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008319/1.043, allocations: 1.78 MB / 1.247 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01863/1.062, allocations: 5.053 MB / 1.252 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009682/1.071, allocations: 3.357 MB / 1.255 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0174/1.089, allocations: 9.853 MB / 1.265 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006072/1.095, allocations: 2.378 MB / 1.267 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01585/1.111, allocations: 4.491 MB / 1.271 GB, free: 6.703 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006905/1.118, allocations: 2.51 MB / 1.274 GB, free: 4.191 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001329/1.119, allocations: 132 kB / 1.274 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/1.133, allocations: 5.58 MB / 1.279 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002405/1.135, allocations: 0.9187 MB / 1.28 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003635/1.139, allocations: 1.56 MB / 1.282 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.151, allocations: 5.821 MB / 1.287 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.016e-06/1.151, allocations: 4 kB / 1.287 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.53e-06/1.151, allocations: 0 / 1.287 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001644/1.151, allocations: 3.938 kB / 1.287 GB, free: 6.125 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.007726/1.159, allocations: 3.032 MB / 1.29 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.159, allocations: 16.02 kB / 1.29 GB, free: 3 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008221/1.16, allocations: 303.8 kB / 1.291 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/1.172, allocations: 1.573 MB / 1.292 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/1.177, allocations: 1.975 MB / 1.294 GB, free: 15.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/1.179, allocations: 435.9 kB / 1.295 GB, free: 14.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/1.18, allocations: 216 kB / 1.295 GB, free: 14.45 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008339/1.188, allocations: 3.137 MB / 1.298 GB, free: 11.16 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/1.188, allocations: 3.938 kB / 1.298 GB, free: 11.16 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/1.189, allocations: 92 kB / 1.298 GB, free: 11.07 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.189, allocations: 92.06 kB / 1.298 GB, free: 10.98 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008232/1.197, allocations: 3.221 MB / 1.301 GB, free: 7.738 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.02706/1.224, allocations: 14.31 MB / 1.315 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/1.229, allocations: 1.688 MB / 1.317 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/1.231, allocations: 0.7969 MB / 1.318 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/1.232, allocations: 337.1 kB / 1.318 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/1.232, allocations: 51.56 kB / 1.318 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001854/1.234, allocations: 198.1 kB / 1.318 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 6.512e-06/1.234, allocations: 0 / 1.318 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.006751/1.24, allocations: 2.406 MB / 1.321 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/1.241, allocations: 72.33 kB / 1.321 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/1.246, allocations: 2.534 MB / 1.323 GB, free: 140 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003355/1.246, allocations: 57.7 kB / 1.323 GB, free: 76 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.248, allocations: 1.241 MB / 1.324 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/1.248, allocations: 386.5 kB / 1.325 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/1.248, allocations: 36 kB / 1.325 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.249, allocations: 373.9 kB / 1.325 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/1.251, allocations: 0.9954 MB / 1.326 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003069/1.254, allocations: 1.583 MB / 1.328 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/1.259, allocations: 2.35 MB / 1.33 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/1.26, allocations: 4 kB / 1.33 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006764/1.266, allocations: 2.898 MB / 1.333 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000372/1.267, allocations: 0.5772 MB / 1.333 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.267, allocations: 20 kB / 1.333 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.213e-05/1.267, allocations: 23.98 kB / 1.333 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/1.27, allocations: 0.5851 MB / 1.334 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/1.271, allocations: 2.391 MB / 1.336 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/1.275, allocations: 454.2 kB / 1.337 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/1.275, allocations: 95.95 kB / 1.337 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.276, allocations: 7.938 kB / 1.337 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007016/1.283, allocations: 2.658 MB / 1.339 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/1.283, allocations: 16 kB / 1.339 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.283, allocations: 20 kB / 1.339 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/1.285, allocations: 0.5424 MB / 1.34 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/1.285, allocations: 23.94 kB / 1.34 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.289, allocations: 383.3 kB / 1.34 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/1.289, allocations: 99.94 kB / 1.34 GB, free: 13.51 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.001314/1.29, allocations: 0.6332 MB / 1.341 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/1.291, allocations: 260.8 kB / 1.341 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/1.295, allocations: 1.878 MB / 1.343 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.295, allocations: 12 kB / 1.343 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.295, allocations: 0 / 1.343 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.295, allocations: 3.984 kB / 1.343 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009473/1.305, allocations: 4.547 MB / 1.348 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.305, allocations: 8 kB / 1.348 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.307, allocations: 316.2 kB / 1.348 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.782e-05/1.307, allocations: 12 kB / 1.348 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.307, allocations: 27.98 kB / 1.348 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/1.308, allocations: 2.372 MB / 1.35 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.308, allocations: 12 kB / 1.35 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/1.312, allocations: 2.006 MB / 1.352 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.313, allocations: 0.5561 MB / 1.353 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005195/1.314, allocations: 27.98 kB / 1.353 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/1.317, allocations: 304.5 kB / 1.353 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.317, allocations: 76.8 kB / 1.353 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.317, allocations: 67.94 kB / 1.353 GB, free: 40 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003593/1.321, allocations: 1.754 MB / 1.355 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/1.321, allocations: 0 / 1.355 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004369/1.325, allocations: 1.31 MB / 1.356 GB, free: 12.96 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.005286/1.331, allocations: 2.823 MB / 1.359 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008906/1.34, allocations: 3.711 MB / 1.363 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.34, allocations: 11.98 kB / 1.363 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.342, allocations: 0.8305 MB / 1.363 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008976/1.351, allocations: 1.316 MB / 1.365 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0445/1.395, allocations: 22.4 MB / 1.387 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.397, allocations: 1.685 MB / 1.388 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004785/1.402, allocations: 0.7854 MB / 1.389 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.403, allocations: 1.019 MB / 1.39 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of SimCode: time 1.042e-06/1.404, allocations: 4 kB / 1.39 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4986/1.902, allocations: 70.89 MB / 1.459 GB, free: 323.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/1.902, allocations: 295 kB / 1.46 GB, free: 323 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.813/6.715, allocations: 0 / 1.46 GB, free: 323 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)