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.000965/0.0009649, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001116/0.001116, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007802/0.007802, allocations: 1.924 MB / 272.3 MB, free: 3.391 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.000459/0.000459, allocations: 20 kB / 330.9 MB, free: 33.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06858/0.06905, allocations: 48.09 MB / 379 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.00201/0.07109, allocations: 1.976 MB / 380.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.07194, allocations: 0.6641 MB / 381.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.07201, allocations: 4 kB / 381.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.07206, allocations: 19.83 kB / 381.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.07224, allocations: 95.7 kB / 381.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.07241, allocations: 39.89 kB / 381.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.07258, allocations: 156.1 kB / 381.9 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.07269, allocations: 33.59 kB / 381.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.07281, allocations: 79.7 kB / 382 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.07292, allocations: 75.69 kB / 382.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.07295, allocations: 8 kB / 382.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.07301, allocations: 12 kB / 382.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.07304, allocations: 31.84 kB / 382.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.07309, allocations: 57.64 kB / 382.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.07322, allocations: 123.9 kB / 382.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.07323, allocations: 0 / 382.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.07324, allocations: 0 / 382.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.07325, allocations: 0 / 382.3 MB, free: 13.83 MB / 286.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.0006151/0.07387, allocations: 474.6 kB / 382.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.0739, allocations: 12.03 kB / 382.8 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.07395, allocations: 19.81 kB / 382.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.07414, allocations: 211.5 kB / 383 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.07416, allocations: 11.95 kB / 383 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.07419, allocations: 12 kB / 383 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.07443, allocations: 133.5 kB / 383.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.07444, allocations: 0 / 383.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.07447, allocations: 15.94 kB / 383.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.07448, allocations: 0 / 383.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.07469, allocations: 111.9 kB / 383.3 MB, free: 12.75 MB / 286.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.0006703/0.07536, allocations: 0.5 MB / 383.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.07566, allocations: 158.7 kB / 383.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.0757, allocations: 4 kB / 384 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.07572, allocations: 42.5 kB / 384 MB, free: 11.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.07573, allocations: 0 / 384 MB, free: 11.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002175/0.07791, allocations: 0.819 MB / 384.8 MB, free: 11.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.07795, allocations: 63.34 kB / 384.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.0781, allocations: 182.9 kB / 385.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.07813, allocations: 25.7 kB / 385.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.07819, allocations: 120.5 kB / 385.2 MB, free: 10.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.07824, allocations: 59.09 kB / 385.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.07826, allocations: 4 kB / 385.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.07836, allocations: 322.8 kB / 385.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.07847, allocations: 47.98 kB / 385.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.91e-05/0.07856, allocations: 51.92 kB / 385.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.07867, allocations: 56.3 kB / 385.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.07868, allocations: 4 kB / 385.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000372/0.07906, allocations: 202.2 kB / 385.9 MB, free: 9.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.07911, allocations: 94.12 kB / 386 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.07912, allocations: 0 / 386 MB, free: 9.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.0797, allocations: 104.7 kB / 386.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.08015, allocations: 75.89 kB / 386.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006672/0.08083, allocations: 1.173 MB / 387.4 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.08094, allocations: 12.02 kB / 387.4 MB, free: 8.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.08096, allocations: 4 kB / 387.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.08097, allocations: 4 kB / 387.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004207/0.0814, allocations: 184.8 kB / 387.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.08141, allocations: 0 / 387.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/0.08169, allocations: 72.8 kB / 387.6 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.08188, allocations: 47.91 kB / 387.7 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.08329, allocations: 1.659 MB / 389.3 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.08339, allocations: 16.02 kB / 389.4 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.08341, allocations: 4 kB / 389.4 MB, free: 6.293 MB / 286.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.08353, allocations: 197.2 kB / 389.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.08357, allocations: 19.81 kB / 389.6 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.08411, allocations: 244.1 kB / 389.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.08413, allocations: 3.984 kB / 389.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.08413, allocations: 4 kB / 389.8 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.08414, allocations: 7.938 kB / 389.8 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.08441, allocations: 261.5 kB / 390.1 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.08442, allocations: 0 / 390.1 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.0848, allocations: 59.89 kB / 390.1 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.08527, allocations: 96.77 kB / 390.2 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.08529, allocations: 4 kB / 390.2 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/0.08592, allocations: 1.178 MB / 391.4 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.08594, allocations: 4.156 kB / 391.4 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.08655, allocations: 394.1 kB / 391.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.771e-05/0.08665, allocations: 108.9 kB / 391.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.08667, allocations: 4.062 kB / 391.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.0868, allocations: 11.98 kB / 391.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.08685, allocations: 7.984 kB / 391.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.08686, allocations: 11.95 kB / 392 MB, free: 3.547 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.08697, allocations: 132.1 kB / 392.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08698, allocations: 0 / 392.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000364/0.08735, allocations: 72 kB / 392.1 MB, free: 3.348 MB / 286.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.08747, allocations: 107.2 kB / 392.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009217/0.08839, allocations: 382.7 kB / 392.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.08841, allocations: 4 kB / 392.6 MB, free: 2.844 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.08883, allocations: 111.8 kB / 392.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.08907, allocations: 20.17 kB / 392.8 MB, free: 2.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.08993, allocations: 0.583 MB / 393.3 MB, free: 2.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.09021, allocations: 0.7323 MB / 394.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.09028, allocations: 17.41 kB / 394.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.09032, allocations: 11.44 kB / 394.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.09033, allocations: 0 / 394.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of Templates: time 0.004756/0.09509, allocations: 2.402 MB / 396.5 MB, free: 14.92 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: