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.00136/0.00136, allocations: 115 kB / 16.42 MB, free: 6.496 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.001377/0.001377, allocations: 186.5 kB / 17.35 MB, free: 5.742 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.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 0.8503/0.8503, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 71.64 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1269, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5874/0.7143, allocations: 328.9 MB / 0.9975 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.7485, allocations: 30.12 MB / 1.027 GB, free: 6.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.7516, allocations: 95.44 kB / 1.027 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004699/0.7563, allocations: 2.164 MB / 1.029 GB, free: 3.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.7677, allocations: 5.174 MB / 1.034 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008351/0.776, allocations: 3.711 MB / 1.038 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008913/0.785, allocations: 6.953 MB / 1.045 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004219/0.7892, allocations: 2.871 MB / 1.047 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.8007, allocations: 5.47 MB / 1.053 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004033/0.8047, allocations: 2.42 MB / 1.055 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007831/0.8055, allocations: 292 kB / 1.055 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008484/0.814, allocations: 4.825 MB / 1.06 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.8153, allocations: 1.067 MB / 1.061 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002449/0.8177, allocations: 1.734 MB / 1.063 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.3924/1.21, allocations: 5.975 MB / 1.069 GB, free: 16.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.21, allocations: 0 / 1.069 GB, free: 16.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.154e-06/1.21, allocations: 1.031 kB / 1.069 GB, free: 16.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001055/1.21, allocations: 0 / 1.069 GB, free: 16.93 MB / 0.8262 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.008842/1.219, allocations: 3.799 MB / 1.072 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.219, allocations: 13.03 kB / 1.072 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.229, allocations: 1.481 MB / 1.074 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/1.234, allocations: 2.083 MB / 1.076 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.234, allocations: 174.6 kB / 1.076 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/1.235, allocations: 218 kB / 1.076 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006067/1.241, allocations: 3.031 MB / 1.079 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.677e-05/1.241, allocations: 5.281 kB / 1.079 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/1.241, allocations: 91.55 kB / 1.079 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-05/1.241, allocations: 94.27 kB / 1.079 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00679/1.248, allocations: 3.108 MB / 1.082 GB, free: 14.03 MB / 0.8262 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.02079/1.269, allocations: 14.06 MB / 1.096 GB, free: 22.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/1.272, allocations: 1.651 MB / 1.098 GB, free: 22.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.274, allocations: 0.7716 MB / 1.099 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/1.275, allocations: 327.3 kB / 1.099 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.275, allocations: 50.31 kB / 1.099 GB, free: 22.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001281/1.276, allocations: 212.9 kB / 1.099 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 5.801e-06/1.276, allocations: 4.188 kB / 1.099 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.005595/1.282, allocations: 2.369 MB / 1.101 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.282, allocations: 65.75 kB / 1.101 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/1.285, allocations: 2.514 MB / 1.104 GB, free: 21.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/1.286, allocations: 56.14 kB / 1.104 GB, free: 21.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/1.286, allocations: 1.296 MB / 1.105 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/1.287, allocations: 404.3 kB / 1.106 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006801/1.287, allocations: 397.6 kB / 1.106 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.288, allocations: 305.9 kB / 1.106 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.29, allocations: 0.9537 MB / 1.107 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.292, allocations: 1.593 MB / 1.109 GB, free: 19.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004152/1.297, allocations: 2.262 MB / 1.111 GB, free: 19.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/1.297, allocations: 3.562 kB / 1.111 GB, free: 19.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005944/1.303, allocations: 2.791 MB / 1.114 GB, free: 18.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/1.303, allocations: 73.89 kB / 1.114 GB, free: 18.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.303, allocations: 14.94 kB / 1.114 GB, free: 18.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/1.303, allocations: 23.12 kB / 1.114 GB, free: 18.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/1.305, allocations: 0.5576 MB / 1.114 GB, free: 18.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/1.307, allocations: 2.39 MB / 1.117 GB, free: 16.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.31, allocations: 281.6 kB / 1.117 GB, free: 16.37 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/1.31, allocations: 94.14 kB / 1.117 GB, free: 16.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002998/1.313, allocations: 1.392 MB / 1.118 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002465/1.316, allocations: 1.584 MB / 1.12 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003974/1.32, allocations: 2.248 MB / 1.122 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.508e-06/1.32, allocations: 6.516 kB / 1.122 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005839/1.326, allocations: 2.789 MB / 1.125 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.218e-05/1.326, allocations: 75.95 kB / 1.125 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.326, allocations: 15.5 kB / 1.125 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.326, allocations: 24.69 kB / 1.125 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/1.328, allocations: 0.5061 MB / 1.125 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.25e-05/1.328, allocations: 32.48 kB / 1.126 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.332, allocations: 291.7 kB / 1.126 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.332, allocations: 92.19 kB / 1.126 GB, free: 14.5 MB / 0.8419 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.0005535/1.332, allocations: 294.2 kB / 1.126 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/1.333, allocations: 285 kB / 1.126 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/1.337, allocations: 1.847 MB / 1.128 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.337, allocations: 5.766 kB / 1.128 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.337, allocations: 0 / 1.128 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.338, allocations: 0.5262 MB / 1.129 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005902/1.339, allocations: 25.55 kB / 1.129 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.341, allocations: 173.2 kB / 1.129 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.341, allocations: 55.56 kB / 1.129 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004358/1.346, allocations: 1.737 MB / 1.131 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005187/1.351, allocations: 2.812 MB / 1.133 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001408/1.352, allocations: 0.7185 MB / 1.134 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002798/1.355, allocations: 1.729 MB / 1.136 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Backend: time 5.31e-07/1.355, allocations: 0 / 1.136 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.365, allocations: 3.974 MB / 1.14 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of SimCode: time 0.008366/1.374, allocations: 5.116 MB / 1.145 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of Templates: time 0.09836/1.472, allocations: 66.77 MB / 1.21 GB, free: 8.387 MB / 0.8887 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)