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.0009544/0.0009545, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 174.9 kB / 16.92 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.293 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.03/1.03, allocations: 143.2 MB / 435.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 0.517 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 83.41 MB / 0.5985 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.099/1.273, allocations: 322.2 MB / 0.9131 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03551/1.309, allocations: 29.97 MB / 0.9424 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/1.313, allocations: 85.84 kB / 0.9425 GB, free: 1.191 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005527/1.319, allocations: 1.752 MB / 0.9442 GB, free: 1.152 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01363/1.332, allocations: 4.676 MB / 0.9488 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00993/1.342, allocations: 3.37 MB / 0.9521 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01269/1.355, allocations: 9.631 MB / 0.9615 GB, free: 364 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004662/1.36, allocations: 2.359 MB / 0.9638 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/1.374, allocations: 4.678 MB / 0.9683 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/1.38, allocations: 2.391 MB / 0.9707 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009993/1.381, allocations: 131 kB / 0.9708 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/1.393, allocations: 5.592 MB / 0.9763 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002031/1.395, allocations: 0.896 MB / 0.9771 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00363/1.399, allocations: 1.561 MB / 0.9787 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008347/1.407, allocations: 4.344 MB / 0.9829 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.407, allocations: 0 / 0.9829 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.256e-06/1.407, allocations: 0 / 0.9829 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001165/1.407, allocations: 0 / 0.9829 GB, free: 10.2 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.006939/1.414, allocations: 3.063 MB / 0.9859 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.414, allocations: 13.53 kB / 0.9859 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/1.424, allocations: 1.584 MB / 0.9875 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004303/1.428, allocations: 1.98 MB / 0.9894 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/1.429, allocations: 438 kB / 0.9898 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000606/1.43, allocations: 225.2 kB / 0.99 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006488/1.436, allocations: 3.108 MB / 0.9931 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/1.436, allocations: 4 kB / 0.9931 GB, free: 3.512 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/1.437, allocations: 86.56 kB / 0.9931 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.116e-05/1.437, allocations: 95.81 kB / 0.9932 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007072/1.444, allocations: 3.219 MB / 0.9964 GB, free: 472 kB / 0.6856 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.02368/1.468, allocations: 14.32 MB / 1.01 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/1.472, allocations: 1.695 MB / 1.012 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.473, allocations: 0.7962 MB / 1.013 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/1.474, allocations: 334.6 kB / 1.013 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.474, allocations: 55.55 kB / 1.013 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001681/1.476, allocations: 201 kB / 1.013 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 5.681e-06/1.476, allocations: 0 / 1.013 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.006066/1.482, allocations: 2.413 MB / 1.016 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.482, allocations: 64.41 kB / 1.016 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/1.486, allocations: 2.556 MB / 1.018 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003455/1.487, allocations: 57.7 kB / 1.018 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.488, allocations: 1.267 MB / 1.02 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/1.488, allocations: 385.4 kB / 1.02 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/1.489, allocations: 145.6 kB / 1.02 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.489, allocations: 309.1 kB / 1.02 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/1.491, allocations: 0.9993 MB / 1.021 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/1.495, allocations: 1.656 MB / 1.023 GB, free: 4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005044/1.5, allocations: 2.33 MB / 1.025 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/1.5, allocations: 4 kB / 1.025 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007685/1.507, allocations: 2.896 MB / 1.028 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/1.508, allocations: 0.5524 MB / 1.029 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/1.508, allocations: 12 kB / 1.029 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/1.508, allocations: 24 kB / 1.029 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/1.511, allocations: 0.5975 MB / 1.029 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/1.513, allocations: 2.395 MB / 1.032 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/1.517, allocations: 440.1 kB / 1.032 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/1.518, allocations: 95.95 kB / 1.032 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.518, allocations: 5.562 kB / 1.032 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006682/1.525, allocations: 2.655 MB / 1.035 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/1.525, allocations: 18.53 kB / 1.035 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.525, allocations: 20 kB / 1.035 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/1.527, allocations: 0.5312 MB / 1.035 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.493e-05/1.527, allocations: 34.36 kB / 1.035 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/1.531, allocations: 380.1 kB / 1.036 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002682/1.532, allocations: 95.95 kB / 1.036 GB, free: 6.703 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.001605/1.533, allocations: 0.6215 MB / 1.036 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008387/1.534, allocations: 260.8 kB / 1.037 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/1.539, allocations: 1.885 MB / 1.038 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.539, allocations: 12 kB / 1.038 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.539, allocations: 3.938 kB / 1.038 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.539, allocations: 3.984 kB / 1.038 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.549, allocations: 4.525 MB / 1.043 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/1.55, allocations: 19.88 kB / 1.043 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/1.551, allocations: 312.5 kB / 1.043 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.291e-05/1.551, allocations: 8 kB / 1.043 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.551, allocations: 35.97 kB / 1.043 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.553, allocations: 2.366 MB / 1.046 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.553, allocations: 11.16 kB / 1.046 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/1.557, allocations: 2.012 MB / 1.047 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/1.559, allocations: 0.5447 MB / 1.048 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008388/1.56, allocations: 24 kB / 1.048 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/1.563, allocations: 288.2 kB / 1.048 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/1.563, allocations: 86.78 kB / 1.048 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.563, allocations: 67.94 kB / 1.048 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004061/1.567, allocations: 1.774 MB / 1.05 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.41e-07/1.567, allocations: 0 / 1.05 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005892/1.573, allocations: 1.302 MB / 1.051 GB, free: 6.32 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.001161/1.574, allocations: 380.6 kB / 1.052 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.584, allocations: 3.723 MB / 1.055 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/1.585, allocations: 4 kB / 1.055 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/1.587, allocations: 0.8251 MB / 1.056 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/1.597, allocations: 1.312 MB / 1.058 GB, free: 244 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.608, allocations: 5.352 MB / 1.063 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/1.61, allocations: 1.682 MB / 1.064 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.611, allocations: 247.3 kB / 1.065 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of SimCode: time 1.082e-06/1.612, allocations: 0 / 1.065 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of Templates: time 0.1063/1.718, allocations: 85.88 MB / 1.149 GB, free: 3.188 MB / 0.8419 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)