Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008217/0.0008217, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006039/0.006039, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5041/0.5041, allocations: 55.02 MB / 325.8 MB, free: 0.5742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005419, allocations: 12 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4511, allocations: 60.72 MB / 458 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8041/1.255, allocations: 322.1 MB / 0.7618 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04785/1.303, allocations: 29.8 MB / 0.7909 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006082/1.309, allocations: 81.84 kB / 0.791 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007831/1.317, allocations: 1.843 MB / 0.7928 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01766/1.335, allocations: 4.691 MB / 0.7973 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01266/1.348, allocations: 3.586 MB / 0.8008 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01697/1.365, allocations: 10.09 MB / 0.8107 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/1.37, allocations: 2.342 MB / 0.813 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/1.384, allocations: 4.58 MB / 0.8174 GB, free: 6.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007505/1.392, allocations: 2.64 MB / 0.82 GB, free: 4.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/1.393, allocations: 139.9 kB / 0.8202 GB, free: 4.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/1.406, allocations: 5.272 MB / 0.8253 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002359/1.408, allocations: 0.946 MB / 0.8262 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003833/1.412, allocations: 1.634 MB / 0.8278 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/1.425, allocations: 5.903 MB / 0.8336 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/1.425, allocations: 4 kB / 0.8336 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/1.425, allocations: 0 / 0.8336 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001444/1.425, allocations: 0 / 0.8336 GB, free: 6.301 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.008968/1.434, allocations: 3.209 MB / 0.8367 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.434, allocations: 8.031 kB / 0.8367 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/1.445, allocations: 1.565 MB / 0.8383 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004772/1.449, allocations: 1.943 MB / 0.8402 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001448/1.451, allocations: 452 kB / 0.8406 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006656/1.452, allocations: 232 kB / 0.8408 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008939/1.461, allocations: 3.599 MB / 0.8443 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/1.461, allocations: 3.938 kB / 0.8443 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/1.461, allocations: 96 kB / 0.8444 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.461, allocations: 100.2 kB / 0.8445 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009418/1.47, allocations: 3.701 MB / 0.8481 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02425/1.495, allocations: 14.62 MB / 0.8624 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0056/1.5, allocations: 2.005 MB / 0.8644 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/1.502, allocations: 0.7999 MB / 0.8651 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/1.503, allocations: 158.2 kB / 0.8653 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.503, allocations: 47.56 kB / 0.8653 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001823/1.505, allocations: 205.9 kB / 0.8655 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 5.61e-06/1.505, allocations: 0 / 0.8655 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.0103/1.515, allocations: 3.106 MB / 0.8686 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.515, allocations: 115.8 kB / 0.8687 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3411/1.856, allocations: 2.625 MB / 0.8712 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000647/1.857, allocations: 60.42 kB / 0.8713 GB, free: 246.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.858, allocations: 1.312 MB / 0.8726 GB, free: 246.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/1.859, allocations: 378.4 kB / 0.8729 GB, free: 246.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/1.859, allocations: 154.7 kB / 0.8731 GB, free: 246.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/1.859, allocations: 303.8 kB / 0.8734 GB, free: 245.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004942/1.864, allocations: 1.185 MB / 0.8745 GB, free: 245.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005614/1.87, allocations: 1.805 MB / 0.8763 GB, free: 245.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00886/1.879, allocations: 2.815 MB / 0.8791 GB, free: 244.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/1.879, allocations: 3.031 kB / 0.8791 GB, free: 244.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.01343/1.892, allocations: 3.463 MB / 0.8824 GB, free: 243 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005813/1.893, allocations: 0.7084 MB / 0.8831 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-05/1.893, allocations: 14.12 kB / 0.8831 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.068e-05/1.893, allocations: 27.16 kB / 0.8832 GB, free: 242.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01711/1.91, allocations: 2.217 MB / 0.8853 GB, free: 242.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01871/1.929, allocations: 7.551 MB / 0.8927 GB, free: 236.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/1.937, allocations: 0.502 MB / 0.8932 GB, free: 236.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007753/1.937, allocations: 103 kB / 0.8933 GB, free: 236.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/1.937, allocations: 4.094 kB / 0.8933 GB, free: 236.5 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01148/1.949, allocations: 2.986 MB / 0.8962 GB, free: 235.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.995e-05/1.949, allocations: 14.41 kB / 0.8962 GB, free: 235.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.226e-05/1.949, allocations: 26.06 kB / 0.8963 GB, free: 235.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/1.954, allocations: 0.5896 MB / 0.8968 GB, free: 235.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.923e-05/1.954, allocations: 33.7 kB / 0.8969 GB, free: 235.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007004/1.961, allocations: 383 kB / 0.8972 GB, free: 235.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008009/1.962, allocations: 95.38 kB / 0.8973 GB, free: 235.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,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 (228): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 6 * 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.003211/1.965, allocations: 0.6565 MB / 0.898 GB, free: 234.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001504/1.966, allocations: 264.1 kB / 0.8982 GB, free: 234.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.977, allocations: 2.152 MB / 0.9003 GB, free: 234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/1.977, allocations: 10.5 kB / 0.9003 GB, free: 234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.977, allocations: 2.25 kB / 0.9003 GB, free: 234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.977, allocations: 5.625 kB / 0.9003 GB, free: 234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.999, allocations: 5.51 MB / 0.9057 GB, free: 232.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.999, allocations: 4.312 kB / 0.9057 GB, free: 232.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01151/2.01, allocations: 1.903 MB / 0.9076 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/2.01, allocations: 12.66 kB / 0.9076 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/2.011, allocations: 37.55 kB / 0.9076 GB, free: 232.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/2.025, allocations: 7.406 MB / 0.9149 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/2.025, allocations: 8.281 kB / 0.9149 GB, free: 226.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/2.032, allocations: 2.241 MB / 0.9171 GB, free: 225.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002204/2.034, allocations: 0.5613 MB / 0.9176 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/2.035, allocations: 23.25 kB / 0.9176 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/2.038, allocations: 334.8 kB / 0.9179 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/2.038, allocations: 88.45 kB / 0.918 GB, free: 225.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/2.038, allocations: 64.97 kB / 0.9181 GB, free: 225 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003578/2.042, allocations: 1.818 MB / 0.9199 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/2.042, allocations: 0 / 0.9199 GB, free: 224.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005028/2.047, allocations: 1.399 MB / 0.9212 GB, free: 224.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 102 * 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.0008239/2.048, allocations: 360.1 kB / 0.9216 GB, free: 224 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02004/2.068, allocations: 6.222 MB / 0.9276 GB, free: 222.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/2.068, allocations: 2.656 kB / 0.9277 GB, free: 222.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/2.085, allocations: 3.528 MB / 0.9311 GB, free: 221.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008787/2.094, allocations: 1.355 MB / 0.9324 GB, free: 220.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/2.102, allocations: 5.387 MB / 0.9377 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/2.103, allocations: 1.707 MB / 0.9393 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003927/2.107, allocations: 0.8007 MB / 0.9401 GB, free: 213 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006988/2.107, allocations: 211.4 kB / 0.9403 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.102e-06/2.107, allocations: 3.938 kB / 0.9403 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.07327/2.181, allocations: 53.37 MB / 0.9925 GB, free: 159.9 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: