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.001572/0.001572, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001783/0.001783, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 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.8425/0.8425, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 72.58 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6153/0.7533, allocations: 328.9 MB / 0.9975 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03864/0.792, allocations: 30.12 MB / 1.027 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00369/0.7957, allocations: 95.44 kB / 1.027 GB, free: 6.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005662/0.8014, allocations: 2.171 MB / 1.029 GB, free: 3.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.8157, allocations: 5.161 MB / 1.034 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.8255, allocations: 3.71 MB / 1.038 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009881/0.8354, allocations: 6.964 MB / 1.045 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/0.8402, allocations: 2.871 MB / 1.047 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/0.8531, allocations: 5.467 MB / 1.053 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/0.8581, allocations: 2.421 MB / 1.055 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.8594, allocations: 292 kB / 1.055 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00943/0.8688, allocations: 4.825 MB / 1.06 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.8706, allocations: 1.067 MB / 1.061 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003297/0.8739, allocations: 1.734 MB / 1.063 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.4219/1.296, allocations: 5.953 MB / 1.069 GB, free: 17.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.296, allocations: 0 / 1.069 GB, free: 17.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/1.296, allocations: 0.9062 kB / 1.069 GB, free: 17.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.992e-05/1.296, allocations: 0 / 1.069 GB, free: 17.27 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.008634/1.305, allocations: 3.697 MB / 1.072 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.305, allocations: 8.5 kB / 1.072 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009631/1.314, allocations: 1.467 MB / 1.074 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/1.318, allocations: 2.065 MB / 1.076 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/1.319, allocations: 173.4 kB / 1.076 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/1.319, allocations: 225.6 kB / 1.076 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006136/1.325, allocations: 3.034 MB / 1.079 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/1.325, allocations: 5.281 kB / 1.079 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/1.326, allocations: 89.41 kB / 1.079 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.326, allocations: 92.2 kB / 1.079 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007213/1.333, allocations: 3.103 MB / 1.082 GB, free: 14.73 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.02016/1.353, allocations: 14.04 MB / 1.096 GB, free: 23.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/1.357, allocations: 1.649 MB / 1.098 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.358, allocations: 0.7688 MB / 1.098 GB, free: 23.22 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/1.359, allocations: 327.2 kB / 1.099 GB, free: 22.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/1.359, allocations: 50.78 kB / 1.099 GB, free: 22.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001296/1.36, allocations: 200.6 kB / 1.099 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.636e-06/1.36, allocations: 0.8125 kB / 1.099 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110): time 0.005431/1.366, allocations: 2.356 MB / 1.101 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.366, allocations: 63.53 kB / 1.101 GB, free: 22.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/1.369, allocations: 2.516 MB / 1.104 GB, free: 22.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.369, allocations: 59.77 kB / 1.104 GB, free: 22.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007822/1.37, allocations: 1.265 MB / 1.105 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/1.37, allocations: 394 kB / 1.105 GB, free: 21.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/1.371, allocations: 385.6 kB / 1.106 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.371, allocations: 307.2 kB / 1.106 GB, free: 21.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/1.374, allocations: 0.9573 MB / 1.107 GB, free: 21.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/1.376, allocations: 1.591 MB / 1.109 GB, free: 20.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/1.38, allocations: 2.257 MB / 1.111 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.38, allocations: 10 kB / 1.111 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006309/1.387, allocations: 2.785 MB / 1.113 GB, free: 19.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.954e-05/1.387, allocations: 74.83 kB / 1.114 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.387, allocations: 15.45 kB / 1.114 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/1.387, allocations: 21.31 kB / 1.114 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/1.39, allocations: 0.5614 MB / 1.114 GB, free: 19.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/1.391, allocations: 2.391 MB / 1.116 GB, free: 17.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.395, allocations: 279.1 kB / 1.117 GB, free: 17.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.395, allocations: 91.72 kB / 1.117 GB, free: 17.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003273/1.398, allocations: 1.396 MB / 1.118 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002584/1.401, allocations: 1.584 MB / 1.12 GB, free: 16.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00423/1.405, allocations: 2.243 MB / 1.122 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.225e-05/1.405, allocations: 4.906 kB / 1.122 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006397/1.411, allocations: 2.778 MB / 1.125 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/1.411, allocations: 74.8 kB / 1.125 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.411, allocations: 16.28 kB / 1.125 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.411, allocations: 22.22 kB / 1.125 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/1.414, allocations: 0.5115 MB / 1.125 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/1.414, allocations: 30.48 kB / 1.125 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003684/1.417, allocations: 292.8 kB / 1.126 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.418, allocations: 95.05 kB / 1.126 GB, free: 15.32 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.0005644/1.418, allocations: 295.8 kB / 1.126 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/1.419, allocations: 263.7 kB / 1.126 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/1.423, allocations: 1.848 MB / 1.128 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.423, allocations: 7.172 kB / 1.128 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.423, allocations: 0 / 1.128 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/1.424, allocations: 0.5134 MB / 1.128 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003477/1.424, allocations: 26.34 kB / 1.128 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.426, allocations: 172.9 kB / 1.129 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.426, allocations: 58.3 kB / 1.129 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004169/1.431, allocations: 1.73 MB / 1.13 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005252/1.436, allocations: 2.801 MB / 1.133 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001455/1.437, allocations: 0.7173 MB / 1.134 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002776/1.44, allocations: 1.728 MB / 1.136 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Backend: time 4.31e-07/1.44, allocations: 0 / 1.136 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.451, allocations: 3.965 MB / 1.139 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of SimCode: time 0.008723/1.46, allocations: 5.027 MB / 1.144 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.09861/1.558, allocations: 66.78 MB / 1.21 GB, free: 9.41 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)