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.005953/0.005954, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001285/0.001285, allocations: 195.3 kB / 16.79 MB, free: 6.254 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.296/1.296, allocations: 205.1 MB / 222.7 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008335/0.008335, allocations: 1.935 MB / 271.9 MB, free: 3.395 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.001382/0.001382, allocations: 67.89 kB / 329.8 MB, free: 33.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07322/0.07461, allocations: 47.14 MB / 376.9 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003338/0.07799, allocations: 2.54 MB / 379.5 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.07908, allocations: 0.6832 MB / 380.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.07916, allocations: 0 / 380.2 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.871e-05/0.07925, allocations: 15.84 kB / 380.2 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.07941, allocations: 59.53 kB / 380.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.07962, allocations: 39.97 kB / 380.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.07984, allocations: 227.3 kB / 380.5 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.07996, allocations: 33.94 kB / 380.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.0801, allocations: 79.72 kB / 380.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.08023, allocations: 79.62 kB / 380.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.08026, allocations: 8 kB / 380.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.08035, allocations: 19.97 kB / 380.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.08039, allocations: 35.78 kB / 380.8 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.08049, allocations: 87.48 kB / 380.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.08064, allocations: 127.7 kB / 381 MB, free: 14.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.08065, allocations: 4 kB / 381 MB, free: 14.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.08066, allocations: 0 / 381 MB, free: 14.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.08067, allocations: 0 / 381 MB, free: 14.01 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.0007962/0.08147, allocations: 486.7 kB / 381.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.08152, allocations: 12.03 kB / 381.5 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.08157, allocations: 20.73 kB / 381.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.08178, allocations: 216.7 kB / 381.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.0818, allocations: 8.375 kB / 381.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.08184, allocations: 12.38 kB / 381.7 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.08213, allocations: 137.9 kB / 381.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.08214, allocations: 4 kB / 381.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.08216, allocations: 4 kB / 381.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.08218, allocations: 4 kB / 381.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.0824, allocations: 103.9 kB / 382 MB, free: 12.93 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.0007666/0.08318, allocations: 496 kB / 382.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.08352, allocations: 166.7 kB / 382.6 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.08375, allocations: 96.81 kB / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.08378, allocations: 0 / 382.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.08383, allocations: 42.55 kB / 382.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.08383, allocations: 0 / 382.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002675/0.08651, allocations: 0.8349 MB / 383.6 MB, free: 11.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.08656, allocations: 55.41 kB / 383.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.08673, allocations: 190.9 kB / 383.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.08675, allocations: 29.7 kB / 383.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.08682, allocations: 120.5 kB / 384 MB, free: 10.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.08688, allocations: 67.03 kB / 384 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.08695, allocations: 41.55 kB / 384.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.08706, allocations: 326.8 kB / 384.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.08719, allocations: 48.84 kB / 384.4 MB, free: 10.26 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.08731, allocations: 51.97 kB / 384.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.08754, allocations: 125.1 kB / 384.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.08755, allocations: 0 / 384.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004637/0.08802, allocations: 210.2 kB / 384.8 MB, free: 9.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.08804, allocations: 4 kB / 384.8 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.08805, allocations: 4 kB / 384.8 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006634/0.08872, allocations: 96.77 kB / 384.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.08925, allocations: 71.94 kB / 385 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007428/0.09, allocations: 1.181 MB / 386.2 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.09013, allocations: 12.02 kB / 386.2 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.09015, allocations: 7.938 kB / 386.2 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001678/0.09033, allocations: 136.1 kB / 386.3 MB, free: 8.305 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.661e-05/0.09043, allocations: 52.08 kB / 386.4 MB, free: 8.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002028/0.09064, allocations: 121.2 kB / 386.5 MB, free: 8.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.09065, allocations: 4 kB / 386.5 MB, free: 8.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005043/0.09116, allocations: 218.1 kB / 386.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.09118, allocations: 4 kB / 386.7 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.09119, allocations: 0 / 386.7 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003105/0.0915, allocations: 76.78 kB / 386.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.09172, allocations: 43.97 kB / 386.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.09328, allocations: 1.643 MB / 388.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.0934, allocations: 12.09 kB / 388.5 MB, free: 5.996 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.09341, allocations: 4 kB / 388.5 MB, free: 5.992 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 (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 0.0001022/0.09352, allocations: 201.1 kB / 388.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.09357, allocations: 15.81 kB / 388.7 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.09414, allocations: 228.2 kB / 388.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.09416, allocations: 7.938 kB / 388.9 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.09417, allocations: 4 kB / 388.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.09418, allocations: 0 / 388.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.09446, allocations: 257.6 kB / 389.2 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.09447, allocations: 3.984 kB / 389.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.09492, allocations: 59.95 kB / 389.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/0.09545, allocations: 92.72 kB / 389.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.09547, allocations: 3.938 kB / 389.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006494/0.09613, allocations: 1.185 MB / 390.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.09614, allocations: 4.156 kB / 390.5 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.09684, allocations: 395.8 kB / 390.9 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.478e-05/0.09693, allocations: 108.9 kB / 391 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.09697, allocations: 4 kB / 391 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.09711, allocations: 8.062 kB / 391 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.09716, allocations: 11.98 kB / 391 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.09717, allocations: 0 / 391 MB, free: 3.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.09728, allocations: 136.1 kB / 391.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09729, allocations: 0 / 391.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004017/0.0977, allocations: 76 kB / 391.3 MB, free: 3.062 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 (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.0001268/0.09783, allocations: 95.25 kB / 391.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.09889, allocations: 384.8 kB / 391.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09891, allocations: 0 / 391.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.09938, allocations: 115.9 kB / 391.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.09971, allocations: 24.16 kB / 391.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1008, allocations: 0.592 MB / 392.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1011, allocations: 0.7285 MB / 393.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1011, allocations: 11.44 kB / 393.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1011, allocations: 0 / 393.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of Templates: time 0.004813/0.1059, allocations: 3.139 MB / 396.3 MB, free: 13.91 MB / 302.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)