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.001258/0.001262, allocations: 114.5 kB / 16.42 MB, free: 6.504 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.001194/0.001194, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.256/1.256, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7581/0.7581, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.5 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1244, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5805/0.7049, allocations: 328.4 MB / 0.986 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03457/0.7395, allocations: 30.03 MB / 1.015 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.7425, allocations: 103.4 kB / 1.015 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004931/0.7474, allocations: 2.171 MB / 1.018 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.7589, allocations: 5.149 MB / 1.023 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008368/0.7672, allocations: 3.705 MB / 1.026 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008511/0.7758, allocations: 6.932 MB / 1.033 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004024/0.7798, allocations: 2.871 MB / 1.036 GB, free: 3.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.7909, allocations: 5.466 MB / 1.041 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003949/0.7949, allocations: 2.417 MB / 1.044 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000746/0.7957, allocations: 292 kB / 1.044 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008267/0.8039, allocations: 4.821 MB / 1.048 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001307/0.8053, allocations: 1.071 MB / 1.05 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/0.8078, allocations: 1.734 MB / 1.051 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.394/1.202, allocations: 5.778 MB / 1.057 GB, free: 22.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.202, allocations: 0 / 1.057 GB, free: 22.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/1.202, allocations: 1.031 kB / 1.057 GB, free: 22.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001513/1.202, allocations: 0 / 1.057 GB, free: 22.91 MB / 0.8106 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.01026/1.212, allocations: 3.798 MB / 1.061 GB, free: 21.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.212, allocations: 12.47 kB / 1.061 GB, free: 21.15 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/1.223, allocations: 1.476 MB / 1.062 GB, free: 20.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/1.227, allocations: 2.088 MB / 1.064 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.227, allocations: 170.4 kB / 1.064 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/1.228, allocations: 222.6 kB / 1.064 GB, free: 20.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/1.234, allocations: 3.039 MB / 1.067 GB, free: 20.04 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/1.234, allocations: 4.344 kB / 1.067 GB, free: 20.04 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003014/1.234, allocations: 91.03 kB / 1.068 GB, free: 20.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/1.234, allocations: 89 kB / 1.068 GB, free: 20.04 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007255/1.242, allocations: 3.112 MB / 1.071 GB, free: 20 MB / 0.8106 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.0189/1.26, allocations: 14.04 MB / 1.084 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003625/1.264, allocations: 1.66 MB / 1.086 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/1.266, allocations: 0.7747 MB / 1.087 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/1.266, allocations: 325.6 kB / 1.087 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.266, allocations: 51.88 kB / 1.087 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001028/1.267, allocations: 209 kB / 1.087 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 3.516e-06/1.267, allocations: 1.062 kB / 1.087 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005177/1.272, allocations: 2.366 MB / 1.09 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/1.272, allocations: 66.69 kB / 1.09 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/1.276, allocations: 2.515 MB / 1.092 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/1.276, allocations: 55.86 kB / 1.092 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007224/1.276, allocations: 1.294 MB / 1.093 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.277, allocations: 410.3 kB / 1.094 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005691/1.277, allocations: 396.8 kB / 1.094 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/1.277, allocations: 308.1 kB / 1.094 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/1.28, allocations: 0.9555 MB / 1.095 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/1.282, allocations: 1.594 MB / 1.097 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/1.286, allocations: 2.253 MB / 1.099 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-06/1.286, allocations: 6.844 kB / 1.099 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005562/1.292, allocations: 2.796 MB / 1.102 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/1.292, allocations: 74.33 kB / 1.102 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.292, allocations: 10.88 kB / 1.102 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/1.292, allocations: 26.84 kB / 1.102 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.295, allocations: 0.5533 MB / 1.103 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/1.296, allocations: 2.396 MB / 1.105 GB, free: 22.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.299, allocations: 284 kB / 1.105 GB, free: 22.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.299, allocations: 93.2 kB / 1.105 GB, free: 22.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002858/1.302, allocations: 1.389 MB / 1.107 GB, free: 22.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002435/1.304, allocations: 1.587 MB / 1.108 GB, free: 21.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003981/1.308, allocations: 2.245 MB / 1.11 GB, free: 20.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.474e-06/1.308, allocations: 2.375 kB / 1.11 GB, free: 20.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005724/1.314, allocations: 2.79 MB / 1.113 GB, free: 20.58 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/1.314, allocations: 81.48 kB / 1.113 GB, free: 20.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.314, allocations: 15.69 kB / 1.113 GB, free: 20.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.314, allocations: 19.78 kB / 1.113 GB, free: 20.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002344/1.316, allocations: 0.5038 MB / 1.114 GB, free: 20.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/1.316, allocations: 31.72 kB / 1.114 GB, free: 20.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.32, allocations: 298.4 kB / 1.114 GB, free: 20.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/1.32, allocations: 89.97 kB / 1.114 GB, free: 20.49 MB / 0.8262 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.0005017/1.32, allocations: 297.1 kB / 1.114 GB, free: 20.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/1.321, allocations: 273.5 kB / 1.115 GB, free: 20.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.325, allocations: 1.845 MB / 1.116 GB, free: 20.04 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.325, allocations: 7.406 kB / 1.116 GB, free: 20.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.325, allocations: 0 / 1.116 GB, free: 20.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/1.325, allocations: 0.5333 MB / 1.117 GB, free: 19.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003514/1.326, allocations: 16.03 kB / 1.117 GB, free: 19.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/1.328, allocations: 170.3 kB / 1.117 GB, free: 19.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.328, allocations: 67.34 kB / 1.117 GB, free: 19.79 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004245/1.332, allocations: 1.727 MB / 1.119 GB, free: 19.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005072/1.337, allocations: 2.815 MB / 1.122 GB, free: 19.2 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001426/1.339, allocations: 0.7219 MB / 1.122 GB, free: 19.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002312/1.341, allocations: 1.724 MB / 1.124 GB, free: 19.03 MB / 0.8262 GB Notification: Performance of Backend: time 3.71e-07/1.341, allocations: 0 / 1.124 GB, free: 19.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009044/1.35, allocations: 3.952 MB / 1.128 GB, free: 18.44 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00724/1.357, allocations: 5.11 MB / 1.133 GB, free: 16.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.09161/1.449, allocations: 66.03 MB / 1.197 GB, free: 12.93 MB / 0.8731 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)