Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008968/0.008968, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.001835/0.001835, allocations: 198.8 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8121/0.8121, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.94 kB / 0.5813 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.2 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.7047/0.8536, allocations: 214.2 MB / 0.8689 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.8674, allocations: 7.025 MB / 0.8757 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.87, allocations: 47.75 kB / 0.8758 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.8731, allocations: 0.8155 MB / 0.8766 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008544/0.8818, allocations: 2.613 MB / 0.8791 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.8859, allocations: 1.184 MB / 0.8803 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004992/0.8909, allocations: 2.822 MB / 0.883 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.8928, allocations: 1.091 MB / 0.8841 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.8975, allocations: 2.047 MB / 0.8861 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0026/0.9001, allocations: 0.9424 MB / 0.887 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.9006, allocations: 120 kB / 0.8871 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/0.9056, allocations: 2.459 MB / 0.8895 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006863/0.9063, allocations: 426.7 kB / 0.8899 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.9076, allocations: 0.6843 MB / 0.8906 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.9123, allocations: 2.501 MB / 0.893 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9123, allocations: 0 / 0.893 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9123, allocations: 0 / 0.893 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.439e-05/0.9124, allocations: 0 / 0.893 GB, free: 6.965 MB / 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.005768/0.9182, allocations: 1.847 MB / 0.8948 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.95e-05/0.9183, allocations: 12.03 kB / 0.8948 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.9218, allocations: 0.5409 MB / 0.8954 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.9242, allocations: 0.9991 MB / 0.8964 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.9243, allocations: 69.94 kB / 0.8964 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.9246, allocations: 87.98 kB / 0.8965 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.9274, allocations: 1.217 MB / 0.8977 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.9274, allocations: 4 kB / 0.8977 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9275, allocations: 28 kB / 0.8977 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.9276, allocations: 49.98 kB / 0.8978 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.9312, allocations: 1.53 MB / 0.8993 GB, free: 480 kB / 0.6544 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.006741/0.9379, allocations: 4.052 MB / 0.9032 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.9403, allocations: 0.9671 MB / 0.9042 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.9417, allocations: 0.6513 MB / 0.9048 GB, free: 10.51 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.9428, allocations: 0.6126 MB / 0.9054 GB, free: 9.789 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.9428, allocations: 45.03 kB / 0.9054 GB, free: 9.738 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.055e-06/0.9428, allocations: 0 / 0.9054 GB, free: 9.738 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.004563/0.9474, allocations: 1.789 MB / 0.9072 GB, free: 7.941 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.9475, allocations: 56.06 kB / 0.9072 GB, free: 7.875 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.9486, allocations: 0.8232 MB / 0.908 GB, free: 7.027 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.825e-05/0.9487, allocations: 41.7 kB / 0.9081 GB, free: 6.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.949, allocations: 440.5 kB / 0.9085 GB, free: 6.543 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.9493, allocations: 260.1 kB / 0.9088 GB, free: 6.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.9496, allocations: 162.5 kB / 0.9089 GB, free: 6.117 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9497, allocations: 329.9 kB / 0.9092 GB, free: 5.789 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.9511, allocations: 0.5395 MB / 0.9098 GB, free: 5.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.9525, allocations: 0.6559 MB / 0.9104 GB, free: 4.555 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/0.9552, allocations: 1.131 MB / 0.9115 GB, free: 3.398 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.9552, allocations: 3.938 kB / 0.9115 GB, free: 3.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003164/0.9584, allocations: 1.341 MB / 0.9128 GB, free: 2.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.9584, allocations: 37.69 kB / 0.9128 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.9584, allocations: 0 / 0.9128 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.9585, allocations: 4 kB / 0.9129 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.9599, allocations: 262 kB / 0.9131 GB, free: 1.738 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006936/0.9606, allocations: 1.188 MB / 0.9143 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.9617, allocations: 147.4 kB / 0.9144 GB, free: 368 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/0.9618, allocations: 35.97 kB / 0.9144 GB, free: 332 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001667/0.9635, allocations: 0.7478 MB / 0.9152 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.9649, allocations: 0.6598 MB / 0.9158 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002594/0.9675, allocations: 1.123 MB / 0.9169 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.9675, allocations: 0 / 0.9169 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003163/0.9707, allocations: 1.333 MB / 0.9182 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.9708, allocations: 37.64 kB / 0.9182 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.9708, allocations: 8.859 kB / 0.9183 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.9708, allocations: 4 kB / 0.9183 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9719, allocations: 227.8 kB / 0.9185 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.972, allocations: 11.94 kB / 0.9185 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.9731, allocations: 127.4 kB / 0.9186 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.9732, allocations: 31.98 kB / 0.9186 GB, free: 11.94 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.0003342/0.9735, allocations: 220.1 kB / 0.9188 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.9738, allocations: 110.6 kB / 0.919 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.9771, allocations: 1.351 MB / 0.9203 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9771, allocations: 8 kB / 0.9203 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9771, allocations: 0 / 0.9203 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.9771, allocations: 3.984 kB / 0.9203 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.9826, allocations: 2.84 MB / 0.9231 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9826, allocations: 0 / 0.9231 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.9838, allocations: 231.8 kB / 0.9233 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.9838, allocations: 8 kB / 0.9233 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.9839, allocations: 23.98 kB / 0.9233 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006009/0.9845, allocations: 1.192 MB / 0.9245 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9845, allocations: 4 kB / 0.9245 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.9877, allocations: 1.463 MB / 0.9259 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.9883, allocations: 303.5 kB / 0.9262 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.9885, allocations: 23.98 kB / 0.9262 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.9896, allocations: 111.8 kB / 0.9263 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.9898, allocations: 52.48 kB / 0.9264 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.9899, allocations: 43.91 kB / 0.9264 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008645/0.9908, allocations: 0.57 MB / 0.927 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9908, allocations: 0 / 0.927 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001778/0.9926, allocations: 0.5341 MB / 0.9275 GB, free: 2.605 MB / 0.6856 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.000777/0.9933, allocations: 268.4 kB / 0.9278 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.9984, allocations: 2.033 MB / 0.9297 GB, free: 300 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.9984, allocations: 0 / 0.9297 GB, free: 300 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1, allocations: 0.6559 MB / 0.9304 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.002, allocations: 0.4902 MB / 0.9309 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/1.007, allocations: 2.073 MB / 0.9329 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006952/1.008, allocations: 1.091 MB / 0.9339 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001335/1.009, allocations: 391.5 kB / 0.9343 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/1.009, allocations: 91.33 kB / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of SimCode: time 3.5e-07/1.009, allocations: 0 / 0.9344 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of Templates: time 0.0348/1.044, allocations: 20.98 MB / 0.9549 GB, free: 6.711 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)