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.006769/0.006769, allocations: 102.1 kB / 15.73 MB, free: 5.555 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.001556/0.001556, allocations: 194.5 kB / 16.67 MB, free: 5.484 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.054/1.054, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4429, allocations: 80.92 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7513/1.194, allocations: 328.4 MB / 0.9854 GB, free: 20 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03596/1.23, allocations: 30.03 MB / 1.015 GB, free: 5.93 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/1.235, allocations: 100.4 kB / 1.015 GB, free: 5.93 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.006793/1.242, allocations: 2.097 MB / 1.017 GB, free: 4.82 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.01603/1.258, allocations: 4.955 MB / 1.022 GB, free: 0.9805 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/1.269, allocations: 3.659 MB / 1.025 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01361/1.283, allocations: 6.927 MB / 1.032 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006539/1.289, allocations: 2.871 MB / 1.035 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01534/1.305, allocations: 5.277 MB / 1.04 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005553/1.31, allocations: 2.418 MB / 1.042 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001527/1.312, allocations: 300 kB / 1.043 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/1.324, allocations: 4.809 MB / 1.047 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002298/1.326, allocations: 1.055 MB / 1.048 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004443/1.331, allocations: 1.738 MB / 1.05 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/1.345, allocations: 5.785 MB / 1.056 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.345, allocations: 4 kB / 1.056 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.572e-06/1.345, allocations: 0 / 1.056 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001907/1.346, allocations: 0 / 1.056 GB, free: 14.37 MB / 0.7481 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.01118/1.357, allocations: 3.796 MB / 1.059 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.357, allocations: 12.03 kB / 1.059 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/1.367, allocations: 1.481 MB / 1.061 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/1.373, allocations: 2.087 MB / 1.063 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/1.373, allocations: 168.1 kB / 1.063 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/1.374, allocations: 220 kB / 1.063 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/1.383, allocations: 3.042 MB / 1.066 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/1.383, allocations: 3.938 kB / 1.066 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/1.383, allocations: 95.98 kB / 1.066 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/1.383, allocations: 95.92 kB / 1.066 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007878/1.391, allocations: 3.107 MB / 1.069 GB, free: 15.94 MB / 0.7638 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.02442/1.416, allocations: 14.05 MB / 1.083 GB, free: 0.8008 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/1.42, allocations: 1.653 MB / 1.085 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/1.422, allocations: 0.7758 MB / 1.086 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/1.423, allocations: 325.2 kB / 1.086 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/1.423, allocations: 55.5 kB / 1.086 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001369/1.424, allocations: 206.6 kB / 1.086 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 5.681e-06/1.424, allocations: 0 / 1.086 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.006629/1.431, allocations: 2.369 MB / 1.088 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.431, allocations: 68.41 kB / 1.088 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005121/1.436, allocations: 2.509 MB / 1.091 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/1.436, allocations: 61.69 kB / 1.091 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.437, allocations: 1.287 MB / 1.092 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/1.438, allocations: 416.5 kB / 1.093 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007886/1.439, allocations: 391.2 kB / 1.093 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.439, allocations: 305.1 kB / 1.093 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.441, allocations: 0.9611 MB / 1.094 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003255/1.445, allocations: 1.579 MB / 1.096 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005161/1.45, allocations: 2.257 MB / 1.098 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.45, allocations: 8 kB / 1.098 GB, free: 1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007028/1.457, allocations: 2.794 MB / 1.101 GB, free: 14.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/1.457, allocations: 72.14 kB / 1.101 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.457, allocations: 12 kB / 1.101 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.789e-05/1.457, allocations: 28 kB / 1.101 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/1.46, allocations: 0.5578 MB / 1.101 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/1.462, allocations: 2.395 MB / 1.104 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/1.465, allocations: 279.8 kB / 1.104 GB, free: 10.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.465, allocations: 95.95 kB / 1.104 GB, free: 10.65 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003456/1.469, allocations: 1.386 MB / 1.105 GB, free: 9.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003241/1.472, allocations: 1.595 MB / 1.107 GB, free: 7.395 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004919/1.477, allocations: 2.242 MB / 1.109 GB, free: 4.953 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-05/1.477, allocations: 7.938 kB / 1.109 GB, free: 4.945 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007175/1.484, allocations: 2.787 MB / 1.112 GB, free: 2.137 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.116e-05/1.484, allocations: 71.41 kB / 1.112 GB, free: 2.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.484, allocations: 12 kB / 1.112 GB, free: 2.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/1.484, allocations: 27.94 kB / 1.112 GB, free: 2.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.487, allocations: 0.5073 MB / 1.113 GB, free: 1.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.703e-05/1.487, allocations: 31.92 kB / 1.113 GB, free: 1.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.49, allocations: 300.2 kB / 1.113 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/1.491, allocations: 84.25 kB / 1.113 GB, free: 1.102 MB / 0.795 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.0006203/1.491, allocations: 303.7 kB / 1.113 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/1.492, allocations: 274.2 kB / 1.113 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004988/1.497, allocations: 1.847 MB / 1.115 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.497, allocations: 8 kB / 1.115 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.497, allocations: 0 / 1.115 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.497, allocations: 11.98 kB / 1.115 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.507, allocations: 4.505 MB / 1.12 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.507, allocations: 8 kB / 1.12 GB, free: 9.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.509, allocations: 291.6 kB / 1.12 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/1.509, allocations: 12 kB / 1.12 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.509, allocations: 39.91 kB / 1.12 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.511, allocations: 2.368 MB / 1.122 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.511, allocations: 11.94 kB / 1.122 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/1.516, allocations: 1.988 MB / 1.124 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.517, allocations: 0.5343 MB / 1.125 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006454/1.518, allocations: 27.98 kB / 1.125 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.52, allocations: 177.2 kB / 1.125 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.52, allocations: 80.78 kB / 1.125 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.521, allocations: 71.89 kB / 1.125 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003378/1.524, allocations: 1.731 MB / 1.127 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/1.524, allocations: 0 / 1.127 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003795/1.528, allocations: 1.295 MB / 1.128 GB, free: 1.168 MB / 0.8106 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.0008023/1.529, allocations: 369.6 kB / 1.128 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008858/1.537, allocations: 3.581 MB / 1.132 GB, free: 13.19 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.537, allocations: 4 kB / 1.132 GB, free: 13.18 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/1.539, allocations: 0.8034 MB / 1.133 GB, free: 12.38 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00585/1.545, allocations: 1.191 MB / 1.134 GB, free: 11.2 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/1.553, allocations: 4.331 MB / 1.138 GB, free: 6.754 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.555, allocations: 1.693 MB / 1.14 GB, free: 5.02 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.003633/1.559, allocations: 0.7777 MB / 1.141 GB, free: 4.238 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009292/1.56, allocations: 199.4 kB / 1.141 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of SimCode: time 9.02e-07/1.56, allocations: 0 / 1.141 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of Templates: time 0.07239/1.632, allocations: 45.89 MB / 1.186 GB, free: 6.664 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)