Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009214, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005512/0.005512, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.02/1.02, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 15.98 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 83.4 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.136/1.312, allocations: 322.2 MB / 0.9125 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03239/1.344, allocations: 29.97 MB / 0.9417 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/1.348, allocations: 85.09 kB / 0.9418 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004911/1.353, allocations: 1.76 MB / 0.9435 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01188/1.365, allocations: 4.685 MB / 0.9481 GB, free: 1 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008567/1.374, allocations: 3.357 MB / 0.9514 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01303/1.387, allocations: 9.627 MB / 0.9608 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004491/1.391, allocations: 2.369 MB / 0.9631 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/1.405, allocations: 4.677 MB / 0.9677 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/1.41, allocations: 2.389 MB / 0.97 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008785/1.411, allocations: 133.9 kB / 0.9701 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/1.423, allocations: 5.589 MB / 0.9756 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001882/1.424, allocations: 0.8998 MB / 0.9765 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003308/1.428, allocations: 1.566 MB / 0.978 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0108/1.439, allocations: 5.996 MB / 0.9839 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.439, allocations: 4 kB / 0.9839 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.593e-06/1.439, allocations: 0 / 0.9839 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001074/1.439, allocations: 0 / 0.9839 GB, free: 9.695 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01003/1.449, allocations: 3.06 MB / 0.9869 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/1.449, allocations: 13.12 kB / 0.9869 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/1.46, allocations: 1.59 MB / 0.9884 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/1.464, allocations: 1.98 MB / 0.9904 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/1.466, allocations: 431.3 kB / 0.9908 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/1.467, allocations: 228.8 kB / 0.991 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006896/1.474, allocations: 3.1 MB / 0.994 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/1.474, allocations: 6.625 kB / 0.994 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/1.474, allocations: 88.62 kB / 0.9941 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.474, allocations: 91.75 kB / 0.9942 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00762/1.482, allocations: 3.225 MB / 0.9973 GB, free: 15.21 MB / 0.7012 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.02474/1.506, allocations: 14.32 MB / 1.011 GB, free: 24 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004245/1.511, allocations: 1.694 MB / 1.013 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/1.513, allocations: 0.7968 MB / 1.014 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/1.513, allocations: 339 kB / 1.014 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.56e-05/1.514, allocations: 47.56 kB / 1.014 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001689/1.515, allocations: 205.7 kB / 1.014 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 4.078e-06/1.515, allocations: 0 / 1.014 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.006446/1.522, allocations: 2.413 MB / 1.017 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/1.522, allocations: 64.41 kB / 1.017 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/1.526, allocations: 2.56 MB / 1.019 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003679/1.527, allocations: 57.69 kB / 1.019 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/1.528, allocations: 1.267 MB / 1.021 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.528, allocations: 392 kB / 1.021 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/1.529, allocations: 137.6 kB / 1.021 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.529, allocations: 309.1 kB / 1.021 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/1.531, allocations: 0.9993 MB / 1.022 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/1.534, allocations: 1.65 MB / 1.024 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/1.539, allocations: 2.338 MB / 1.026 GB, free: 272 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.539, allocations: 4 kB / 1.026 GB, free: 268 kB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006986/1.546, allocations: 2.893 MB / 1.029 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/1.547, allocations: 0.559 MB / 1.03 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.547, allocations: 12 kB / 1.03 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/1.547, allocations: 24 kB / 1.03 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.55, allocations: 0.5903 MB / 1.03 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.551, allocations: 2.394 MB / 1.033 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.556, allocations: 446.6 kB / 1.033 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/1.556, allocations: 91.25 kB / 1.033 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.556, allocations: 4 kB / 1.033 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006446/1.562, allocations: 2.663 MB / 1.036 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/1.563, allocations: 16 kB / 1.036 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.563, allocations: 20 kB / 1.036 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/1.565, allocations: 0.535 MB / 1.036 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.233e-05/1.565, allocations: 33.89 kB / 1.036 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/1.569, allocations: 376.5 kB / 1.037 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/1.569, allocations: 95.95 kB / 1.037 GB, free: 5.449 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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.001423/1.57, allocations: 0.6219 MB / 1.037 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/1.571, allocations: 264.7 kB / 1.038 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/1.576, allocations: 1.878 MB / 1.039 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.576, allocations: 12 kB / 1.039 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.576, allocations: 11.81 kB / 1.039 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.576, allocations: 7.969 kB / 1.039 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00965/1.585, allocations: 4.52 MB / 1.044 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.585, allocations: 7.938 kB / 1.044 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/1.587, allocations: 314.2 kB / 1.044 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/1.587, allocations: 12 kB / 1.044 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.48e-05/1.587, allocations: 39.92 kB / 1.044 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/1.588, allocations: 2.367 MB / 1.046 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/1.588, allocations: 10.81 kB / 1.046 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/1.593, allocations: 2.012 MB / 1.048 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.594, allocations: 0.5444 MB / 1.049 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/1.595, allocations: 27.98 kB / 1.049 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.598, allocations: 286.8 kB / 1.049 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.598, allocations: 82.42 kB / 1.049 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.598, allocations: 67.94 kB / 1.049 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003126/1.601, allocations: 1.766 MB / 1.051 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.601, allocations: 0 / 1.051 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0038/1.605, allocations: 1.306 MB / 1.052 GB, free: 5.066 MB / 0.7481 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.0007967/1.606, allocations: 383.3 kB / 1.053 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009176/1.615, allocations: 3.726 MB / 1.056 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/1.615, allocations: 4 kB / 1.056 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/1.617, allocations: 0.8278 MB / 1.057 GB, free: 280 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009191/1.626, allocations: 1.299 MB / 1.059 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008778/1.635, allocations: 5.279 MB / 1.064 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/1.636, allocations: 1.691 MB / 1.065 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003963/1.64, allocations: 0.7896 MB / 1.066 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.641, allocations: 219.4 kB / 1.066 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/1.641, allocations: 0 / 1.066 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of Templates: time 0.09084/1.732, allocations: 50.81 MB / 1.116 GB, free: 4.828 MB / 0.8106 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)