Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package MEV with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 180.9 kB / 15.43 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01244/0.01243, allocations: 1.938 MB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 225.7 MB / 245.1 MB, free: 13.81 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007716/0.0007715, allocations: 94.38 kB / 296.8 MB, free: 10.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002848, allocations: 8 kB / 358.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 50.91 MB / 409.3 MB, free: 50.27 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002274/0.2138, allocations: 2.866 MB / 412.2 MB, free: 49.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.2149, allocations: 0.9114 MB / 413.1 MB, free: 49.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.215, allocations: 7.062 kB / 413.1 MB, free: 49.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.67e-05/0.2151, allocations: 34.02 kB / 413.1 MB, free: 49.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.2153, allocations: 99.84 kB / 413.2 MB, free: 48.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2155, allocations: 92.12 kB / 413.3 MB, free: 48.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.2159, allocations: 395.6 kB / 413.7 MB, free: 48.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2161, allocations: 65.12 kB / 413.8 MB, free: 48.83 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2163, allocations: 133 kB / 413.9 MB, free: 48.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2165, allocations: 154.5 kB / 414 MB, free: 48.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.2165, allocations: 15.16 kB / 414.1 MB, free: 48.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2166, allocations: 29.77 kB / 414.1 MB, free: 48.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.2167, allocations: 56.41 kB / 414.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2169, allocations: 176 kB / 414.3 MB, free: 48.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.2172, allocations: 309 kB / 414.6 MB, free: 48.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2172, allocations: 1.094 kB / 414.6 MB, free: 48.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2172, allocations: 0 / 414.6 MB, free: 48.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2172, allocations: 0 / 414.6 MB, free: 48.58 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008861/0.2181, allocations: 0.5739 MB / 415.2 MB, free: 48.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2181, allocations: 12.5 kB / 415.2 MB, free: 48.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.2182, allocations: 37.41 kB / 415.2 MB, free: 48.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.2184, allocations: 256.3 kB / 415.5 MB, free: 47.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2185, allocations: 20.12 kB / 415.5 MB, free: 47.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.2185, allocations: 24.27 kB / 415.5 MB, free: 47.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.2189, allocations: 235.8 kB / 415.8 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2189, allocations: 0 / 415.8 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.219, allocations: 13.34 kB / 415.8 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.219, allocations: 5.812 kB / 415.8 MB, free: 47.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.2194, allocations: 190.5 kB / 416 MB, free: 47.64 MB / 330.7 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.001151/0.2205, allocations: 0.7492 MB / 416.7 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.2211, allocations: 308 kB / 417 MB, free: 47.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.2214, allocations: 157 kB / 417.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.2214, allocations: 10.08 kB / 417.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2215, allocations: 37.75 kB / 417.2 MB, free: 46.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.2215, allocations: 0 / 417.2 MB, free: 46.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004899/0.2264, allocations: 1.566 MB / 418.8 MB, free: 46.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.2264, allocations: 55.44 kB / 418.8 MB, free: 46.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2266, allocations: 231.5 kB / 419.1 MB, free: 45.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.2266, allocations: 31.72 kB / 419.1 MB, free: 45.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.2267, allocations: 132.2 kB / 419.2 MB, free: 45.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.012e-05/0.2268, allocations: 123.9 kB / 419.3 MB, free: 45.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.2268, allocations: 5.031 kB / 419.4 MB, free: 45.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.2269, allocations: 339.6 kB / 419.7 MB, free: 45.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.227, allocations: 93.66 kB / 419.8 MB, free: 45.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.2272, allocations: 94.31 kB / 419.9 MB, free: 45.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2276, allocations: 227 kB / 420.1 MB, free: 45.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2276, allocations: 5.031 kB / 420.1 MB, free: 45.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007178/0.2283, allocations: 392.5 kB / 420.5 MB, free: 44.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.2284, allocations: 96.25 kB / 420.6 MB, free: 44.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2284, allocations: 0.6562 kB / 420.6 MB, free: 44.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.23, allocations: 274.7 kB / 420.8 MB, free: 44.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.2306, allocations: 90.31 kB / 420.9 MB, free: 44.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009384/0.2315, allocations: 1.856 MB / 422.8 MB, free: 43.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2317, allocations: 12.95 kB / 422.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.2318, allocations: 7.703 kB / 422.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.2318, allocations: 3.5 kB / 422.8 MB, free: 43.05 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009898/0.2328, allocations: 399.3 kB / 423.2 MB, free: 42.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.2328, allocations: 0 / 423.2 MB, free: 42.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/0.2336, allocations: 197.7 kB / 423.4 MB, free: 42.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.2338, allocations: 62.47 kB / 423.5 MB, free: 42.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.237, allocations: 3.613 MB / 427.1 MB, free: 39.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.2372, allocations: 8.781 kB / 427.1 MB, free: 39.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2372, allocations: 6.625 kB / 427.1 MB, free: 39.65 MB / 330.7 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.2373, allocations: 218.5 kB / 427.3 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2374, allocations: 24.89 kB / 427.3 MB, free: 39.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008079/0.2382, allocations: 429.6 kB / 427.7 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2382, allocations: 3.875 kB / 427.7 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.2382, allocations: 0 / 427.7 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2382, allocations: 1.734 kB / 427.7 MB, free: 39.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.2386, allocations: 353.8 kB / 428.1 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2386, allocations: 0 / 428.1 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.2391, allocations: 79.94 kB / 428.2 MB, free: 38.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.2405, allocations: 262.3 kB / 428.4 MB, free: 38.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.2405, allocations: 8.703 kB / 428.4 MB, free: 38.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008612/0.2414, allocations: 1.857 MB / 430.3 MB, free: 37.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2414, allocations: 0 / 430.3 MB, free: 37.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.2423, allocations: 0.6103 MB / 430.9 MB, free: 36.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2425, allocations: 133.2 kB / 431 MB, free: 36.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.2425, allocations: 5.938 kB / 431 MB, free: 36.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2427, allocations: 15.47 kB / 431.1 MB, free: 36.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.2428, allocations: 17.7 kB / 431.1 MB, free: 36.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2428, allocations: 10.02 kB / 431.1 MB, free: 36.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.2429, allocations: 165.5 kB / 431.2 MB, free: 36.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.243, allocations: 1.188 kB / 431.2 MB, free: 36.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005273/0.2435, allocations: 143.5 kB / 431.4 MB, free: 36.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.2436, allocations: 114.6 kB / 431.5 MB, free: 36.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.2453, allocations: 0.7772 MB / 432.3 MB, free: 36.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2453, allocations: 0 / 432.3 MB, free: 36.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006971/0.246, allocations: 206.8 kB / 432.5 MB, free: 35.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.2464, allocations: 49.77 kB / 432.5 MB, free: 35.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.248, allocations: 0.9866 MB / 433.5 MB, free: 35.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2482, allocations: 0.7674 MB / 434.3 MB, free: 34.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.2483, allocations: 27 kB / 434.3 MB, free: 34.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.2484, allocations: 16.34 kB / 434.3 MB, free: 34.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2484, allocations: 0 / 434.3 MB, free: 34.66 MB / 330.7 MB Notification: Performance of Templates: time 0.009137/0.2575, allocations: 5.027 MB / 439.3 MB, free: 33.28 MB / 330.7 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)