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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11 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.001218/0.001218, allocations: 183.2 kB / 326.5 MB, free: 2.215 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.956/1.956, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.0008894/0.0008893, allocations: 90.31 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004597, allocations: 11.56 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7532/0.9953, allocations: 265.9 MB / 1.16 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04006/1.035, allocations: 27.08 MB / 1.186 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005127/1.041, allocations: 80.06 kB / 1.186 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.006621/1.047, allocations: 1.694 MB / 1.188 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/1.067, allocations: 4.738 MB / 1.193 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009949/1.077, allocations: 2.641 MB / 1.195 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01127/1.088, allocations: 4.014 MB / 1.199 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004925/1.093, allocations: 2.269 MB / 1.201 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/1.104, allocations: 3.395 MB / 1.205 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/1.109, allocations: 1.709 MB / 1.206 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001018/1.11, allocations: 128 kB / 1.206 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008047/1.118, allocations: 2.2 MB / 1.209 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002381/1.12, allocations: 0.8373 MB / 1.209 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/1.123, allocations: 0.6329 MB / 1.21 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008385/1.131, allocations: 3.637 MB / 1.214 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.131, allocations: 0 / 1.214 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.608e-06/1.131, allocations: 0 / 1.214 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001894/1.131, allocations: 0 / 1.214 GB, free: 13.5 MB / 0.7448 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.009451/1.141, allocations: 2.968 MB / 1.216 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/1.141, allocations: 12.03 kB / 1.216 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/1.142, allocations: 307.8 kB / 1.217 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.152, allocations: 1.585 MB / 1.218 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004969/1.157, allocations: 1.891 MB / 1.22 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/1.159, allocations: 431.9 kB / 1.221 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007835/1.16, allocations: 224 kB / 1.221 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007178/1.167, allocations: 3.098 MB / 1.224 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/1.167, allocations: 11.94 kB / 1.224 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/1.167, allocations: 92 kB / 1.224 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/1.167, allocations: 88.06 kB / 1.224 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008306/1.176, allocations: 3.213 MB / 1.227 GB, free: 15.29 MB / 0.7605 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.0271/1.203, allocations: 14.28 MB / 1.241 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004188/1.207, allocations: 1.7 MB / 1.243 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/1.208, allocations: 162.9 kB / 1.243 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.208, allocations: 51.52 kB / 1.243 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/1.209, allocations: 198.1 kB / 1.243 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=110): time 5.571e-06/1.209, allocations: 0 / 1.243 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=110): time 0.006086/1.215, allocations: 2.403 MB / 1.245 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.215, allocations: 64.41 kB / 1.246 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004645/1.22, allocations: 2.511 MB / 1.248 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004528/1.22, allocations: 57.7 kB / 1.248 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.222, allocations: 1.244 MB / 1.249 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/1.222, allocations: 398.4 kB / 1.25 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.222, allocations: 32 kB / 1.25 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.222, allocations: 369.9 kB / 1.25 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/1.225, allocations: 0.9953 MB / 1.251 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.228, allocations: 1.559 MB / 1.253 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/1.232, allocations: 1.192 MB / 1.254 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/1.232, allocations: 4 kB / 1.254 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00715/1.239, allocations: 2.883 MB / 1.257 GB, free: 15.71 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002673/1.241, allocations: 6.102 MB / 1.262 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.242, allocations: 24 kB / 1.262 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.186e-05/1.242, allocations: 24 kB / 1.263 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/1.245, allocations: 0.589 MB / 1.263 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/1.246, allocations: 2.403 MB / 1.265 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/1.251, allocations: 439.4 kB / 1.266 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005011/1.252, allocations: 95.95 kB / 1.266 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.252, allocations: 4 kB / 1.266 GB, free: 5.355 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006856/1.258, allocations: 2.638 MB / 1.269 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/1.259, allocations: 16 kB / 1.269 GB, free: 2.688 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.509e-05/1.259, allocations: 24 kB / 1.269 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.261, allocations: 0.5423 MB / 1.269 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.172e-05/1.261, allocations: 27.92 kB / 1.269 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/1.265, allocations: 377.6 kB / 1.269 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/1.265, allocations: 87.95 kB / 1.27 GB, free: 1.641 MB / 0.7917 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 (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.001512/1.267, allocations: 0.6371 MB / 1.27 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007164/1.267, allocations: 256.8 kB / 1.27 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004854/1.272, allocations: 1.882 MB / 1.272 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.272, allocations: 8 kB / 1.272 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.272, allocations: 0 / 1.272 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/1.272, allocations: 7.969 kB / 1.272 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/1.283, allocations: 4.539 MB / 1.277 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/1.283, allocations: 4 kB / 1.277 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.285, allocations: 324 kB / 1.277 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-05/1.285, allocations: 19.97 kB / 1.277 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/1.285, allocations: 31.94 kB / 1.277 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/1.286, allocations: 2.364 MB / 1.279 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/1.286, allocations: 12.22 kB / 1.279 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005276/1.291, allocations: 2.489 MB / 1.282 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/1.293, allocations: 0.5523 MB / 1.282 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008054/1.294, allocations: 27.98 kB / 1.282 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003313/1.298, allocations: 296.4 kB / 1.283 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/1.298, allocations: 76.81 kB / 1.283 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002857/1.298, allocations: 75.88 kB / 1.283 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004373/1.303, allocations: 1.73 MB / 1.285 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.21e-07/1.303, allocations: 0 / 1.285 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007412/1.31, allocations: 1.306 MB / 1.286 GB, free: 440 kB / 0.8073 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 (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 Backend phase and start with SimCode phase: time 0.007275/1.317, allocations: 4.755 MB / 1.29 GB, free: 11.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009893/1.327, allocations: 3.697 MB / 1.294 GB, free: 7.766 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.327, allocations: 4 kB / 1.294 GB, free: 7.762 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002252/1.33, allocations: 0.8281 MB / 1.295 GB, free: 6.934 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007012/1.337, allocations: 1.203 MB / 1.296 GB, free: 5.746 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.358, allocations: 16.78 MB / 1.312 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.36, allocations: 1.73 MB / 1.314 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005366/1.366, allocations: 0.7816 MB / 1.315 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.368, allocations: 0.9913 MB / 1.316 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of SimCode: time 1.653e-06/1.368, allocations: 0 / 1.316 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/1.485, allocations: 65.06 MB / 1.379 GB, free: 148 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/1.486, allocations: 269.5 kB / 1.38 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.14/5.625, allocations: 0 / 1.38 GB, free: 15.79 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)