Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001651/0.001651, allocations: 108 kB / 16.27 MB, free: 6.004 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.001887/0.001887, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8136/0.8136, allocations: 135.1 MB / 426.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.89 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3621, allocations: 80.91 MB / 0.585 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6586/1.021, allocations: 328.4 MB / 0.9057 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04553/1.066, allocations: 30.04 MB / 0.935 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/1.072, allocations: 95.44 kB / 0.9351 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006586/1.078, allocations: 2.093 MB / 0.9372 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01549/1.094, allocations: 4.941 MB / 0.942 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/1.104, allocations: 3.645 MB / 0.9456 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.115, allocations: 6.919 MB / 0.9523 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/1.121, allocations: 2.863 MB / 0.9551 GB, free: 2.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/1.137, allocations: 5.269 MB / 0.9603 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005306/1.142, allocations: 2.398 MB / 0.9626 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001586/1.143, allocations: 296 kB / 0.9629 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/1.155, allocations: 4.809 MB / 0.9676 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00227/1.157, allocations: 1.075 MB / 0.9686 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004748/1.162, allocations: 1.738 MB / 0.9703 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/1.176, allocations: 5.707 MB / 0.9759 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.176, allocations: 0 / 0.9759 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.424e-06/1.176, allocations: 0 / 0.9759 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002013/1.176, allocations: 4 kB / 0.9759 GB, free: 13.22 MB / 0.7012 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.01184/1.188, allocations: 3.706 MB / 0.9795 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.188, allocations: 9.109 kB / 0.9795 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/1.199, allocations: 1.471 MB / 0.981 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/1.204, allocations: 1.976 MB / 0.9829 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001359/1.206, allocations: 395.8 kB / 0.9833 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/1.206, allocations: 220 kB / 0.9835 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00794/1.214, allocations: 3.074 MB / 0.9865 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/1.214, allocations: 7.875 kB / 0.9865 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000487/1.215, allocations: 95.98 kB / 0.9866 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.215, allocations: 91.98 kB / 0.9867 GB, free: 1.879 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007998/1.223, allocations: 3.142 MB / 0.9897 GB, free: 14.71 MB / 0.7169 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.02778/1.251, allocations: 14.15 MB / 1.004 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.255, allocations: 1.652 MB / 1.005 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/1.257, allocations: 0.7737 MB / 1.006 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/1.258, allocations: 329.1 kB / 1.006 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.258, allocations: 59.44 kB / 1.006 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00144/1.259, allocations: 194.1 kB / 1.006 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 8.045e-06/1.259, allocations: 4 kB / 1.006 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=110): time 0.006416/1.266, allocations: 2.363 MB / 1.009 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.266, allocations: 60.41 kB / 1.009 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/1.271, allocations: 2.54 MB / 1.011 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.271, allocations: 57.7 kB / 1.011 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/1.272, allocations: 1.268 MB / 1.013 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/1.272, allocations: 390.5 kB / 1.013 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008038/1.273, allocations: 395 kB / 1.013 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/1.273, allocations: 305.1 kB / 1.014 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/1.276, allocations: 0.9767 MB / 1.015 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003195/1.279, allocations: 1.611 MB / 1.016 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/1.284, allocations: 2.269 MB / 1.018 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/1.284, allocations: 4 kB / 1.018 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007171/1.291, allocations: 2.828 MB / 1.021 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/1.291, allocations: 77.73 kB / 1.021 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/1.292, allocations: 15.94 kB / 1.021 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.123e-05/1.292, allocations: 24 kB / 1.021 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00334/1.295, allocations: 0.558 MB / 1.022 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.296, allocations: 2.395 MB / 1.024 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003874/1.3, allocations: 316.8 kB / 1.024 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/1.301, allocations: 91.95 kB / 1.025 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003728/1.304, allocations: 1.417 MB / 1.026 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00317/1.308, allocations: 1.606 MB / 1.028 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00487/1.312, allocations: 2.261 MB / 1.03 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-05/1.313, allocations: 4 kB / 1.03 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007404/1.32, allocations: 2.824 MB / 1.032 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/1.32, allocations: 67.41 kB / 1.033 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/1.32, allocations: 12 kB / 1.033 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/1.32, allocations: 24 kB / 1.033 GB, free: 484 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3591/1.679, allocations: 0.5173 MB / 1.033 GB, free: 324.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.101e-05/1.679, allocations: 29.73 kB / 1.033 GB, free: 324.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.684, allocations: 329.3 kB / 1.033 GB, free: 324.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006173/1.685, allocations: 94.06 kB / 1.034 GB, free: 324.8 MB / 0.7481 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.0008658/1.686, allocations: 298.3 kB / 1.034 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.687, allocations: 256.6 kB / 1.034 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00622/1.693, allocations: 1.843 MB / 1.036 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.693, allocations: 15.91 kB / 1.036 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.693, allocations: 0 / 1.036 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/1.693, allocations: 6.047 kB / 1.036 GB, free: 324.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.706, allocations: 4.494 MB / 1.04 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.706, allocations: 5.812 kB / 1.04 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.708, allocations: 308.9 kB / 1.041 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.06e-05/1.708, allocations: 10.03 kB / 1.041 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.708, allocations: 28.88 kB / 1.041 GB, free: 322.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008624/1.709, allocations: 2.371 MB / 1.043 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.709, allocations: 9.844 kB / 1.043 GB, free: 320.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/1.713, allocations: 1.973 MB / 1.045 GB, free: 319.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.715, allocations: 0.5259 MB / 1.045 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/1.715, allocations: 31.88 kB / 1.045 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/1.717, allocations: 192.2 kB / 1.046 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.718, allocations: 83.53 kB / 1.046 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.718, allocations: 63 kB / 1.046 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003134/1.721, allocations: 1.755 MB / 1.047 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.91e-07/1.721, allocations: 0 / 1.047 GB, free: 318.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004254/1.725, allocations: 1.282 MB / 1.049 GB, free: 318.4 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.0008432/1.726, allocations: 380.2 kB / 1.049 GB, free: 318.3 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009228/1.735, allocations: 3.794 MB / 1.053 GB, free: 317.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/1.735, allocations: 3.969 kB / 1.053 GB, free: 317.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/1.737, allocations: 0.8017 MB / 1.054 GB, free: 316.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006434/1.744, allocations: 1.208 MB / 1.055 GB, free: 316.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008007/1.752, allocations: 4.401 MB / 1.059 GB, free: 313.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009338/1.753, allocations: 1.685 MB / 1.061 GB, free: 312.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.754, allocations: 217.9 kB / 1.061 GB, free: 312.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.292e-06/1.754, allocations: 0 / 1.061 GB, free: 312.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.07806/1.832, allocations: 85.83 MB / 1.145 GB, free: 227.3 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)