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.005535/0.005535, allocations: 106.2 kB / 15.74 MB, free: 6 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.001186/0.001186, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9548/0.9548, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.5856 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4084, allocations: 80.92 MB / 0.6647 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7264/1.135, allocations: 328.4 MB / 0.9854 GB, free: 12 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03716/1.172, allocations: 30.04 MB / 1.015 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004949/1.177, allocations: 97.81 kB / 1.015 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006466/1.184, allocations: 2.173 MB / 1.017 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/1.198, allocations: 5.152 MB / 1.022 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009813/1.208, allocations: 3.709 MB / 1.026 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01039/1.218, allocations: 6.934 MB / 1.032 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004764/1.223, allocations: 2.871 MB / 1.035 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0157/1.239, allocations: 5.455 MB / 1.04 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/1.246, allocations: 2.427 MB / 1.043 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00182/1.247, allocations: 296 kB / 1.043 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/1.26, allocations: 4.821 MB / 1.048 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002768/1.263, allocations: 1.059 MB / 1.049 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005161/1.268, allocations: 1.738 MB / 1.051 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01626/1.284, allocations: 5.757 MB / 1.056 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.285, allocations: 0 / 1.056 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.793e-06/1.285, allocations: 0 / 1.056 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001698/1.285, allocations: 0 / 1.056 GB, free: 13.78 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.01339/1.298, allocations: 3.7 MB / 1.06 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/1.298, allocations: 12.03 kB / 1.06 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.313, allocations: 1.464 MB / 1.061 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/1.32, allocations: 2.065 MB / 1.063 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/1.32, allocations: 172.1 kB / 1.063 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/1.321, allocations: 220 kB / 1.064 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/1.327, allocations: 3.031 MB / 1.067 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/1.328, allocations: 4 kB / 1.067 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002684/1.328, allocations: 91.98 kB / 1.067 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.328, allocations: 92 kB / 1.067 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006911/1.335, allocations: 3.119 MB / 1.07 GB, free: 15.49 MB / 0.7637 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.02266/1.358, allocations: 14.02 MB / 1.084 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/1.361, allocations: 1.656 MB / 1.085 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/1.363, allocations: 0.7689 MB / 1.086 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/1.364, allocations: 329.1 kB / 1.086 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/1.364, allocations: 51.56 kB / 1.086 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001301/1.365, allocations: 198.1 kB / 1.086 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=110): time 3.477e-06/1.365, allocations: 0 / 1.086 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.005705/1.371, allocations: 2.352 MB / 1.089 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/1.371, allocations: 64.41 kB / 1.089 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/1.375, allocations: 2.521 MB / 1.091 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/1.375, allocations: 57.7 kB / 1.091 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/1.376, allocations: 1.268 MB / 1.093 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/1.376, allocations: 394.5 kB / 1.093 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/1.377, allocations: 391 kB / 1.093 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.377, allocations: 309.1 kB / 1.094 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/1.38, allocations: 0.9494 MB / 1.095 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.383, allocations: 1.591 MB / 1.096 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/1.387, allocations: 2.253 MB / 1.098 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/1.387, allocations: 4 kB / 1.098 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006257/1.393, allocations: 2.777 MB / 1.101 GB, free: 13.83 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/1.393, allocations: 78.05 kB / 1.101 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.393, allocations: 16 kB / 1.101 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.393, allocations: 24.66 kB / 1.101 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/1.396, allocations: 0.5578 MB / 1.102 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/1.398, allocations: 2.395 MB / 1.104 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/1.401, allocations: 283.9 kB / 1.104 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/1.401, allocations: 95.89 kB / 1.104 GB, free: 10.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002987/1.404, allocations: 1.395 MB / 1.106 GB, free: 8.887 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002666/1.407, allocations: 1.583 MB / 1.107 GB, free: 7.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004241/1.411, allocations: 2.254 MB / 1.109 GB, free: 4.582 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.047e-06/1.411, allocations: 4 kB / 1.109 GB, free: 4.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006334/1.418, allocations: 2.77 MB / 1.112 GB, free: 1.785 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/1.418, allocations: 75.55 kB / 1.112 GB, free: 1.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.418, allocations: 16 kB / 1.112 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.418, allocations: 23.94 kB / 1.112 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/1.42, allocations: 0.507 MB / 1.113 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/1.42, allocations: 31.92 kB / 1.113 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/1.423, allocations: 288.3 kB / 1.113 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.423, allocations: 91.95 kB / 1.113 GB, free: 0.75 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.0004866/1.424, allocations: 295.7 kB / 1.113 GB, free: 464 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/1.424, allocations: 264.8 kB / 1.114 GB, free: 196 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.428, allocations: 1.851 MB / 1.115 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.428, allocations: 12 kB / 1.116 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.428, allocations: 0 / 1.116 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.428, allocations: 3.984 kB / 1.116 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/1.436, allocations: 4.5 MB / 1.12 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.436, allocations: 4.75 kB / 1.12 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.438, allocations: 303.5 kB / 1.12 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/1.438, allocations: 8.281 kB / 1.12 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/1.438, allocations: 35.98 kB / 1.12 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/1.439, allocations: 2.368 MB / 1.123 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.439, allocations: 4 kB / 1.123 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/1.443, allocations: 1.979 MB / 1.124 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.444, allocations: 0.525 MB / 1.125 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/1.445, allocations: 35.92 kB / 1.125 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.447, allocations: 185.4 kB / 1.125 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.447, allocations: 76.78 kB / 1.125 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.447, allocations: 67.95 kB / 1.125 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002608/1.45, allocations: 1.723 MB / 1.127 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/1.45, allocations: 0 / 1.127 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00334/1.453, allocations: 1.287 MB / 1.128 GB, free: 0.8672 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.0007486/1.454, allocations: 374 kB / 1.129 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008424/1.462, allocations: 3.585 MB / 1.132 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.462, allocations: 0 / 1.132 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.464, allocations: 0.8125 MB / 1.133 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/1.469, allocations: 1.192 MB / 1.134 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/1.476, allocations: 4.255 MB / 1.138 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.477, allocations: 1.693 MB / 1.14 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002615/1.48, allocations: 0.7738 MB / 1.141 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/1.48, allocations: 195.4 kB / 1.141 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/1.48, allocations: 4 kB / 1.141 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.07162/1.552, allocations: 45.9 MB / 1.186 GB, free: 6.434 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)