Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipes.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00154/0.00154, allocations: 191.8 kB / 16.13 MB, free: 6.664 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.402/1.402, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008694/0.008694, allocations: 1.943 MB / 271.3 MB, free: 3.531 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.001326/0.001326, allocations: 71.33 kB / 329.1 MB, free: 33.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07526/0.0766, allocations: 47.13 MB / 376.3 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.003903/0.08055, allocations: 3.369 MB / 379.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.08217, allocations: 0.8393 MB / 380.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.08231, allocations: 4 kB / 380.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.08242, allocations: 31.73 kB / 380.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.08272, allocations: 99.16 kB / 380.6 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.08301, allocations: 87.91 kB / 380.7 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.0834, allocations: 407 kB / 381.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.08358, allocations: 56.98 kB / 381.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.08379, allocations: 143.3 kB / 381.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.084, allocations: 155.3 kB / 381.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.08405, allocations: 24 kB / 381.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.08416, allocations: 28 kB / 381.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.08422, allocations: 55.75 kB / 381.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.08436, allocations: 155.1 kB / 381.7 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.08466, allocations: 318.9 kB / 382 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.08467, allocations: 7.938 kB / 382 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.08468, allocations: 0 / 382 MB, free: 12.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.08469, allocations: 3.938 kB / 382 MB, free: 12.31 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001035/0.08573, allocations: 0.6042 MB / 382.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.08577, allocations: 12.03 kB / 382.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.08585, allocations: 32.47 kB / 382.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.08613, allocations: 271.6 kB / 382.9 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.08616, allocations: 16.94 kB / 383 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.08621, allocations: 24.38 kB / 383 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.08666, allocations: 233.2 kB / 383.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.08668, allocations: 0 / 383.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.08671, allocations: 15.98 kB / 383.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.08673, allocations: 4 kB / 383.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.08709, allocations: 182.2 kB / 383.4 MB, free: 10.84 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.001343/0.08844, allocations: 0.7444 MB / 384.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/0.08906, allocations: 318.5 kB / 384.5 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.08933, allocations: 148.8 kB / 384.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.08938, allocations: 7.984 kB / 384.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.08942, allocations: 34.56 kB / 384.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.453e-06/0.08943, allocations: 4 kB / 384.7 MB, free: 9.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.005281/0.09472, allocations: 1.532 MB / 386.2 MB, free: 7.887 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.0948, allocations: 59.41 kB / 386.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.09505, allocations: 233 kB / 386.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.09509, allocations: 33.7 kB / 386.5 MB, free: 7.539 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.09518, allocations: 136.8 kB / 386.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.09529, allocations: 122.1 kB / 386.8 MB, free: 7.281 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.09539, allocations: 57.7 kB / 386.8 MB, free: 7.219 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.09554, allocations: 338.8 kB / 387.1 MB, free: 6.879 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.09576, allocations: 100.6 kB / 387.2 MB, free: 6.777 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.09595, allocations: 99.7 kB / 387.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.09635, allocations: 229.3 kB / 387.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.09637, allocations: 7.938 kB / 387.6 MB, free: 6.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007965/0.09717, allocations: 394.2 kB / 388 MB, free: 6.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.0972, allocations: 11.94 kB / 388 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.09721, allocations: 0 / 388 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.09889, allocations: 277.4 kB / 388.2 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.09946, allocations: 87.92 kB / 388.3 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1008, allocations: 1.851 MB / 390.2 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.101, allocations: 12.02 kB / 390.2 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.101, allocations: 12 kB / 390.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002594/0.1013, allocations: 192 kB / 390.4 MB, free: 3.531 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001569/0.1015, allocations: 96.11 kB / 390.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003537/0.1018, allocations: 217.2 kB / 390.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.1018, allocations: 0 / 390.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001004/0.1028, allocations: 434.4 kB / 391.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1029, allocations: 6.656 kB / 391.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.1029, allocations: 4 kB / 391.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007599/0.1036, allocations: 193.5 kB / 391.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1039, allocations: 63.91 kB / 391.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.1077, allocations: 3.607 MB / 395 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.108, allocations: 4 kB / 395 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.108, allocations: 16.06 kB / 395 MB, free: 14.62 MB / 302.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 (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.0001716/0.1082, allocations: 197.1 kB / 395.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.1082, allocations: 31.62 kB / 395.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.1091, allocations: 402.6 kB / 395.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1091, allocations: 8 kB / 395.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1091, allocations: 0 / 395.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1091, allocations: 0 / 395.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1096, allocations: 365.4 kB / 396 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1096, allocations: 0 / 396 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.1101, allocations: 79.89 kB / 396.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.1115, allocations: 253.8 kB / 396.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.1115, allocations: 12 kB / 396.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1128, allocations: 1.851 MB / 398.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1128, allocations: 0 / 398.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1139, allocations: 0.6222 MB / 398.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.114, allocations: 132.7 kB / 398.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.1141, allocations: 8 kB / 398.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1143, allocations: 11.98 kB / 398.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.1143, allocations: 27.84 kB / 399 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1144, allocations: 8 kB / 399 MB, free: 10.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1145, allocations: 172.5 kB / 399.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1145, allocations: 0 / 399.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.1151, allocations: 144.1 kB / 399.3 MB, free: 10.15 MB / 302.1 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.0001547/0.1152, allocations: 107.2 kB / 399.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.117, allocations: 0.7547 MB / 400.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.117, allocations: 3.938 kB / 400.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.1177, allocations: 207.8 kB / 400.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.1182, allocations: 36.44 kB / 400.4 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1198, allocations: 0.9291 MB / 401.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1201, allocations: 0.7721 MB / 402.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.1202, allocations: 18.28 kB / 402.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1202, allocations: 15.44 kB / 402.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1202, allocations: 0 / 402.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of Templates: time 0.008216/0.1285, allocations: 5.095 MB / 407.2 MB, free: 2.137 MB / 302.1 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)