Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 109 kB / 16.41 MB, free: 6.496 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.001163/0.001163, allocations: 187 kB / 17.34 MB, free: 5.762 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7495/0.7495, allocations: 135.1 MB / 426.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 57.44 kB / 0.5863 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 80.93 MB / 0.6653 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.5433/0.6785, allocations: 214.2 MB / 0.8745 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.6896, allocations: 7.029 MB / 0.8813 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.6917, allocations: 47.75 kB / 0.8814 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.6938, allocations: 0.7881 MB / 0.8822 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.7002, allocations: 2.505 MB / 0.8846 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.7033, allocations: 1.173 MB / 0.8858 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004078/0.7074, allocations: 2.821 MB / 0.8885 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.709, allocations: 1.096 MB / 0.8896 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004776/0.7138, allocations: 2.005 MB / 0.8915 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.7158, allocations: 0.9368 MB / 0.8925 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.716, allocations: 116 kB / 0.8926 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004448/0.7204, allocations: 2.455 MB / 0.895 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.7209, allocations: 426.7 kB / 0.8954 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.7217, allocations: 0.6882 MB / 0.896 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.7252, allocations: 2.493 MB / 0.8985 GB, free: 436 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7253, allocations: 0 / 0.8985 GB, free: 436 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.616e-06/0.7253, allocations: 4 kB / 0.8985 GB, free: 432 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.7253, allocations: 0 / 0.8985 GB, free: 432 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004019/0.7293, allocations: 1.847 MB / 0.9003 GB, free: 14.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7294, allocations: 9.109 kB / 0.9003 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002818/0.7322, allocations: 0.537 MB / 0.9008 GB, free: 13.97 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.7339, allocations: 1.003 MB / 0.9018 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.734, allocations: 66 kB / 0.9019 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.7341, allocations: 88 kB / 0.9019 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.7365, allocations: 1.229 MB / 0.9031 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7365, allocations: 0 / 0.9031 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.565e-05/0.7366, allocations: 35.98 kB / 0.9032 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.7366, allocations: 45.98 kB / 0.9032 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.7398, allocations: 1.526 MB / 0.9047 GB, free: 9.926 MB / 0.67 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.005677/0.7455, allocations: 4.046 MB / 0.9087 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.7476, allocations: 0.9662 MB / 0.9096 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.749, allocations: 0.6474 MB / 0.9102 GB, free: 3.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.75, allocations: 0.6126 MB / 0.9108 GB, free: 3.258 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7501, allocations: 43.22 kB / 0.9109 GB, free: 3.207 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 4.078e-06/0.7501, allocations: 0 / 0.9109 GB, free: 3.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.004282/0.7544, allocations: 1.785 MB / 0.9126 GB, free: 1.414 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.7544, allocations: 60.06 kB / 0.9127 GB, free: 1.344 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009034/0.7553, allocations: 0.8193 MB / 0.9135 GB, free: 0.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.113e-05/0.7554, allocations: 45.7 kB / 0.9135 GB, free: 460 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.7557, allocations: 440.5 kB / 0.9139 GB, free: 12 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.7559, allocations: 260.4 kB / 0.9142 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.7562, allocations: 158.5 kB / 0.9143 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7563, allocations: 333.9 kB / 0.9147 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.7576, allocations: 0.5356 MB / 0.9152 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7589, allocations: 0.6675 MB / 0.9158 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.7614, allocations: 1.131 MB / 0.9169 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.7614, allocations: 0.875 kB / 0.9169 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002922/0.7643, allocations: 1.341 MB / 0.9182 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.7644, allocations: 33.7 kB / 0.9183 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7644, allocations: 7.938 kB / 0.9183 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7644, allocations: 4 kB / 0.9183 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.7659, allocations: 257.3 kB / 0.9185 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006472/0.7666, allocations: 1.199 MB / 0.9197 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.7676, allocations: 146.4 kB / 0.9198 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.7677, allocations: 31.98 kB / 0.9199 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001613/0.7693, allocations: 0.7556 MB / 0.9206 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001358/0.7707, allocations: 0.652 MB / 0.9213 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002455/0.7731, allocations: 1.123 MB / 0.9223 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.003e-06/0.7731, allocations: 0 / 0.9223 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.002968/0.7761, allocations: 1.329 MB / 0.9236 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.7762, allocations: 43.34 kB / 0.9237 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7762, allocations: 0 / 0.9237 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.7762, allocations: 4 kB / 0.9237 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.7773, allocations: 231.8 kB / 0.9239 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.7774, allocations: 11.98 kB / 0.9239 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/0.7783, allocations: 131.4 kB / 0.9241 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.7784, allocations: 31.98 kB / 0.9241 GB, free: 5.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.7787, allocations: 228.1 kB / 0.9243 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.7789, allocations: 106.6 kB / 0.9244 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/0.782, allocations: 1.344 MB / 0.9257 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.782, allocations: 8 kB / 0.9257 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.782, allocations: 4 kB / 0.9257 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.7821, allocations: 3.984 kB / 0.9257 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.7871, allocations: 2.836 MB / 0.9285 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.7871, allocations: 7.984 kB / 0.9285 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.7883, allocations: 227.8 kB / 0.9287 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.7883, allocations: 4 kB / 0.9287 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/0.7884, allocations: 27.98 kB / 0.9288 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005944/0.789, allocations: 1.188 MB / 0.9299 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.789, allocations: 7.938 kB / 0.9299 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.792, allocations: 1.455 MB / 0.9313 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005384/0.7925, allocations: 307.5 kB / 0.9316 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.7927, allocations: 23.94 kB / 0.9317 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.7937, allocations: 107.8 kB / 0.9318 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.7939, allocations: 56.42 kB / 0.9318 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.794, allocations: 43.91 kB / 0.9319 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006876/0.7947, allocations: 0.57 MB / 0.9324 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7947, allocations: 0 / 0.9324 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001277/0.796, allocations: 0.5341 MB / 0.9329 GB, free: 12.07 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000573/0.7965, allocations: 265.9 kB / 0.9332 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004787/0.8013, allocations: 2.034 MB / 0.9352 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.8014, allocations: 4 kB / 0.9352 GB, free: 9.758 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.8031, allocations: 0.6597 MB / 0.9358 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.8052, allocations: 0.4993 MB / 0.9363 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.8091, allocations: 2.112 MB / 0.9384 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.8097, allocations: 1.087 MB / 0.9394 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.8101, allocations: 103.4 kB / 0.9395 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.8101, allocations: 4 kB / 0.9395 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of Templates: time 0.03134/0.8414, allocations: 26.82 MB / 0.9657 GB, free: 10.46 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)