Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001227/0.001227, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9588/0.9588, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.34 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2054, allocations: 80.91 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5715/0.777, allocations: 212 MB / 0.7908 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.7892, allocations: 7.136 MB / 0.7977 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.7913, allocations: 39.75 kB / 0.7978 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.7936, allocations: 0.6489 MB / 0.7984 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.8007, allocations: 2.351 MB / 0.8007 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.804, allocations: 1.055 MB / 0.8017 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004971/0.809, allocations: 3.749 MB / 0.8054 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.8106, allocations: 0.9316 MB / 0.8063 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004922/0.8156, allocations: 1.794 MB / 0.808 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.8183, allocations: 0.9429 MB / 0.809 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.8186, allocations: 60 kB / 0.809 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005883/0.8245, allocations: 2.817 MB / 0.8118 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006398/0.8252, allocations: 366.7 kB / 0.8121 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.8263, allocations: 0.6256 MB / 0.8127 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.8311, allocations: 2.563 MB / 0.8152 GB, free: 352 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8311, allocations: 0 / 0.8152 GB, free: 352 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8311, allocations: 0 / 0.8152 GB, free: 352 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.008e-05/0.8312, allocations: 4 kB / 0.8152 GB, free: 348 kB / 0.6231 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.005005/0.8362, allocations: 1.85 MB / 0.817 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8362, allocations: 12.03 kB / 0.8171 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.8396, allocations: 0.533 MB / 0.8176 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.8415, allocations: 0.9563 MB / 0.8185 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006772/0.8422, allocations: 181.9 kB / 0.8187 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.8423, allocations: 87.94 kB / 0.8188 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.8453, allocations: 1.229 MB / 0.82 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.8453, allocations: 0 / 0.82 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.8454, allocations: 39.97 kB / 0.82 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.8455, allocations: 45.98 kB / 0.8201 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.8494, allocations: 1.553 MB / 0.8216 GB, free: 9.746 MB / 0.6387 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.007273/0.8567, allocations: 4.047 MB / 0.8255 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.8594, allocations: 0.9897 MB / 0.8265 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.8609, allocations: 0.6591 MB / 0.8271 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.8621, allocations: 0.6087 MB / 0.8277 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.8621, allocations: 47.22 kB / 0.8278 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.587e-06/0.8621, allocations: 0 / 0.8278 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.005026/0.8672, allocations: 1.816 MB / 0.8295 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.8672, allocations: 60.06 kB / 0.8296 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8684, allocations: 0.8154 MB / 0.8304 GB, free: 260 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.8685, allocations: 41.7 kB / 0.8304 GB, free: 212 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.8689, allocations: 436.7 kB / 0.8309 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.8692, allocations: 271.9 kB / 0.8311 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.8695, allocations: 158.5 kB / 0.8313 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8696, allocations: 333.9 kB / 0.8316 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.8711, allocations: 0.5473 MB / 0.8321 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.8726, allocations: 0.6624 MB / 0.8328 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.8754, allocations: 1.151 MB / 0.8339 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8755, allocations: 0 / 0.8339 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003567/0.879, allocations: 1.368 MB / 0.8352 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.8791, allocations: 36.05 kB / 0.8353 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8791, allocations: 0 / 0.8353 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.8792, allocations: 4 kB / 0.8353 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.8807, allocations: 269.8 kB / 0.8355 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/0.8816, allocations: 1.192 MB / 0.8367 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.883, allocations: 175.2 kB / 0.8369 GB, free: 9.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.8831, allocations: 31.98 kB / 0.8369 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001809/0.8849, allocations: 0.7634 MB / 0.8376 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001538/0.8864, allocations: 0.6715 MB / 0.8383 GB, free: 8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002826/0.8893, allocations: 1.135 MB / 0.8394 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.8893, allocations: 0 / 0.8394 GB, free: 6.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003418/0.8927, allocations: 1.356 MB / 0.8407 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.8928, allocations: 41.7 kB / 0.8408 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8928, allocations: 1.328 kB / 0.8408 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.8928, allocations: 4 kB / 0.8408 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8941, allocations: 235.7 kB / 0.841 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8941, allocations: 7.938 kB / 0.841 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.8953, allocations: 167.4 kB / 0.8412 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.8954, allocations: 31.98 kB / 0.8412 GB, free: 4.992 MB / 0.6544 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.0002749/0.8957, allocations: 220.1 kB / 0.8414 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.8959, allocations: 106.7 kB / 0.8415 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.8994, allocations: 1.364 MB / 0.8428 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.8994, allocations: 8 kB / 0.8428 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.8994, allocations: 3.984 kB / 0.8428 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.8994, allocations: 4 kB / 0.8428 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005674/0.9051, allocations: 2.855 MB / 0.8456 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.9051, allocations: 7.938 kB / 0.8456 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9065, allocations: 238.2 kB / 0.8459 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.9065, allocations: 8 kB / 0.8459 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.9066, allocations: 27.98 kB / 0.8459 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007073/0.9073, allocations: 1.191 MB / 0.8471 GB, free: 14.81 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9073, allocations: 4 kB / 0.8471 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.9106, allocations: 1.471 MB / 0.8485 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.9112, allocations: 311.4 kB / 0.8488 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.9113, allocations: 20 kB / 0.8488 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.9126, allocations: 147.7 kB / 0.849 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.9127, allocations: 60.48 kB / 0.849 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.288e-05/0.9128, allocations: 35.97 kB / 0.8491 GB, free: 12.69 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007889/0.9136, allocations: 0.5738 MB / 0.8496 GB, free: 12.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9136, allocations: 0 / 0.8496 GB, free: 12.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001459/0.9151, allocations: 0.534 MB / 0.8501 GB, free: 11.57 MB / 0.67 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.0006771/0.9158, allocations: 287.7 kB / 0.8504 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005573/0.9214, allocations: 2.041 MB / 0.8524 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9214, allocations: 0 / 0.8524 GB, free: 9.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.9232, allocations: 0.6714 MB / 0.8531 GB, free: 8.559 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.9259, allocations: 0.5078 MB / 0.8536 GB, free: 8.062 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.9312, allocations: 2.506 MB / 0.856 GB, free: 5.484 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008337/0.9321, allocations: 1.087 MB / 0.8571 GB, free: 4.371 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001942/0.934, allocations: 399.4 kB / 0.8574 GB, free: 3.977 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003428/0.9344, allocations: 87.39 kB / 0.8575 GB, free: 3.891 MB / 0.67 GB Notification: Performance of SimCode: time 1.483e-06/0.9344, allocations: 4 kB / 0.8575 GB, free: 3.887 MB / 0.67 GB Notification: Performance of Templates: time 0.3189/1.253, allocations: 20.12 MB / 0.8772 GB, free: 220.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)