Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004412/0.004412, allocations: 102.3 kB / 15.73 MB, free: 5.516 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.001059/0.001059, allocations: 195.1 kB / 16.67 MB, free: 5.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 222.6 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008702/0.008702, allocations: 1.932 MB / 271.8 MB, free: 3.094 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 75.88 kB / 378.2 MB, free: 428 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.08122, allocations: 47.13 MB / 425.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1717/0.253, allocations: 2.233 MB / 427.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2539, allocations: 0.6449 MB / 428.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.254, allocations: 0 / 428.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.143e-05/0.2541, allocations: 27.33 kB / 428.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.2543, allocations: 59.98 kB / 428.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2545, allocations: 57.91 kB / 428.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.2548, allocations: 233.5 kB / 428.6 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2549, allocations: 35.28 kB / 428.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2551, allocations: 84.09 kB / 428.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2552, allocations: 90.67 kB / 428.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.2553, allocations: 15.44 kB / 428.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2554, allocations: 24.38 kB / 428.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.2555, allocations: 38.3 kB / 428.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.2556, allocations: 92.36 kB / 429 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.2559, allocations: 183 kB / 429.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.2559, allocations: 3.812 kB / 429.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2559, allocations: 0 / 429.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.256, allocations: 1.25 kB / 429.2 MB, free: 10.12 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008631/0.2568, allocations: 495.2 kB / 429.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2569, allocations: 13.52 kB / 429.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.257, allocations: 22.39 kB / 429.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.2572, allocations: 216.2 kB / 429.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2573, allocations: 14.55 kB / 429.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2573, allocations: 13.12 kB / 429.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2576, allocations: 141.2 kB / 430.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2577, allocations: 0 / 430.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2577, allocations: 9.484 kB / 430.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.2577, allocations: 3.281 kB / 430.1 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.258, allocations: 97.06 kB / 430.2 MB, free: 9.426 MB / 318.1 MB 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.0007412/0.2587, allocations: 0.4951 MB / 430.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.259, allocations: 165.4 kB / 430.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.2593, allocations: 97.31 kB / 430.9 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2593, allocations: 2.125 kB / 430.9 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.2594, allocations: 40.23 kB / 431 MB, free: 8.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2594, allocations: 0 / 431 MB, free: 8.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002493/0.2619, allocations: 0.8434 MB / 431.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.2619, allocations: 58.98 kB / 431.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2621, allocations: 182.8 kB / 432 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.2621, allocations: 30.7 kB / 432.1 MB, free: 8.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.2621, allocations: 114.5 kB / 432.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.2622, allocations: 60.23 kB / 432.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.2623, allocations: 40.78 kB / 432.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.2623, allocations: 322.2 kB / 432.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2624, allocations: 55.89 kB / 432.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.2626, allocations: 52.2 kB / 432.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.2628, allocations: 124.8 kB / 432.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2628, allocations: 0 / 432.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000442/0.2632, allocations: 218.4 kB / 433 MB, free: 7.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2633, allocations: 10.47 kB / 433.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2633, allocations: 0.875 kB / 433.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.2639, allocations: 96.75 kB / 433.1 MB, free: 7.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.2644, allocations: 70.69 kB / 433.2 MB, free: 7.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005184/0.2649, allocations: 1.18 MB / 434.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.2651, allocations: 4.078 kB / 434.4 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2651, allocations: 11.72 kB / 434.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001474/0.2652, allocations: 135.4 kB / 434.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.226e-05/0.2653, allocations: 50.55 kB / 434.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001963/0.2656, allocations: 128.4 kB / 434.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.2656, allocations: 0 / 434.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005021/0.2661, allocations: 221 kB / 434.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.2661, allocations: 9.062 kB / 434.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2661, allocations: 0.875 kB / 434.9 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003096/0.2664, allocations: 69.83 kB / 435 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.2666, allocations: 42.44 kB / 435.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.2681, allocations: 1.836 MB / 436.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2682, allocations: 8.047 kB / 436.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2682, allocations: 2.688 kB / 436.9 MB, free: 4.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.2683, allocations: 196 kB / 437.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2683, allocations: 20.12 kB / 437.1 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005657/0.2689, allocations: 237.2 kB / 437.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2689, allocations: 3.234 kB / 437.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2689, allocations: 4.562 kB / 437.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2689, allocations: 2.531 kB / 437.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.2692, allocations: 255.5 kB / 437.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2692, allocations: 0 / 437.6 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.2697, allocations: 67.17 kB / 437.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/0.2702, allocations: 87.7 kB / 437.8 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2702, allocations: 4.781 kB / 437.8 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004486/0.2706, allocations: 1.183 MB / 438.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2707, allocations: 4.969 kB / 438.9 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.2713, allocations: 396.3 kB / 439.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.2714, allocations: 108.2 kB / 439.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.2714, allocations: 2.016 kB / 439.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2715, allocations: 6.812 kB / 439.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2716, allocations: 15.97 kB / 439.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2716, allocations: 7.5 kB / 439.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2717, allocations: 131.8 kB / 439.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2717, allocations: 0 / 439.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.2722, allocations: 76.61 kB / 439.7 MB, free: 2.074 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.p) * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.2723, allocations: 95.59 kB / 439.8 MB, free: 1.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.2734, allocations: 384.3 kB / 440.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2734, allocations: 8 kB / 440.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.2739, allocations: 105.2 kB / 440.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.2742, allocations: 23.61 kB / 440.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009288/0.2752, allocations: 0.5121 MB / 440.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2753, allocations: 0.722 MB / 441.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.622e-05/0.2754, allocations: 14.45 kB / 441.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.2754, allocations: 16.78 kB / 441.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2755, allocations: 1.344 kB / 441.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of Templates: time 0.006713/0.2822, allocations: 2.732 MB / 444.3 MB, free: 0.5273 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & ./MEV_MEV.Test.TestPipeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)