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.0008677/0.0008678, allocations: 99.55 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.0008859/0.0008861, allocations: 177.3 kB / 15.94 MB, free: 228 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.158/1.158, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007174/0.007174, allocations: 1.916 MB / 272.3 MB, free: 3.273 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.0004456/0.0004457, allocations: 12 kB / 330.9 MB, free: 33.36 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06755/0.068, allocations: 48.1 MB / 379 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.002649/0.07068, allocations: 2.62 MB / 381.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.07207, allocations: 0.8516 MB / 382.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.07226, allocations: 0 / 382.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.393e-05/0.07236, allocations: 39.67 kB / 382.5 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.07269, allocations: 167.5 kB / 382.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.07295, allocations: 79.84 kB / 382.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.07326, allocations: 280.3 kB / 383 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.0734, allocations: 56.84 kB / 383 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.0736, allocations: 135.4 kB / 383.2 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.07379, allocations: 147.4 kB / 383.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.07383, allocations: 16 kB / 383.3 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.07392, allocations: 27.98 kB / 383.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.07397, allocations: 55.75 kB / 383.4 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.07405, allocations: 81.58 kB / 383.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.07426, allocations: 223.6 kB / 383.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-06/0.07427, allocations: 0 / 383.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.07427, allocations: 0 / 383.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.07428, allocations: 0 / 383.7 MB, free: 12.42 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.0009749/0.07526, allocations: 0.5806 MB / 384.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.07531, allocations: 8.031 kB / 384.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.835e-05/0.07538, allocations: 31.62 kB / 384.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.07567, allocations: 254.5 kB / 384.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.0757, allocations: 28.52 kB / 384.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.07575, allocations: 24 kB / 384.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.07614, allocations: 220.9 kB / 384.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.07616, allocations: 0 / 384.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.07619, allocations: 12 kB / 384.9 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.0762, allocations: 7.938 kB / 384.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.07654, allocations: 186.2 kB / 385 MB, free: 10.99 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.001075/0.07762, allocations: 0.7524 MB / 385.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.07816, allocations: 302.8 kB / 386.1 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.0782, allocations: 8.469 kB / 386.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.07823, allocations: 42.5 kB / 386.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.07824, allocations: 0 / 386.1 MB, free: 9.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.004803/0.08304, allocations: 1.547 MB / 387.7 MB, free: 8.176 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.08309, allocations: 55.41 kB / 387.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.0833, allocations: 233 kB / 388 MB, free: 7.871 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.08334, allocations: 37.69 kB / 388 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.08342, allocations: 132.8 kB / 388.1 MB, free: 7.695 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.08351, allocations: 126.2 kB / 388.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.08353, allocations: 4 kB / 388.3 MB, free: 7.566 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.08365, allocations: 338.8 kB / 388.6 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.08381, allocations: 79.97 kB / 388.7 MB, free: 7.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.08399, allocations: 103.5 kB / 388.8 MB, free: 7.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.08417, allocations: 100 kB / 388.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.08418, allocations: 0 / 388.9 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006858/0.08487, allocations: 383 kB / 389.2 MB, free: 6.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.08492, allocations: 98.28 kB / 389.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.08493, allocations: 4 kB / 389.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.08643, allocations: 269.3 kB / 389.6 MB, free: 6.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.08696, allocations: 87.94 kB / 389.7 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.08818, allocations: 1.858 MB / 391.6 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.08838, allocations: 8.031 kB / 391.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.08841, allocations: 15.98 kB / 391.6 MB, free: 4.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.08842, allocations: 4 kB / 391.6 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009089/0.08934, allocations: 388.9 kB / 392 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.08935, allocations: 4 kB / 392 MB, free: 3.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/0.09008, allocations: 205.5 kB / 392.2 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.09034, allocations: 59.97 kB / 392.2 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.09404, allocations: 3.637 MB / 395.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.09422, allocations: 15.92 kB / 395.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.09425, allocations: 8 kB / 395.9 MB, free: 15.56 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {2 10,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.09441, allocations: 217.2 kB / 396.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.09447, allocations: 31.61 kB / 396.1 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007903/0.09527, allocations: 418.8 kB / 396.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.09529, allocations: 7.953 kB / 396.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.0953, allocations: 112 / 396.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.09531, allocations: 7.938 kB / 396.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.09572, allocations: 357.4 kB / 396.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.09573, allocations: 0 / 396.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.09624, allocations: 75.94 kB / 397 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.09758, allocations: 253.4 kB / 397.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.09761, allocations: 8 kB / 397.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.09879, allocations: 1.862 MB / 399.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0988, allocations: 0 / 399.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009189/0.09973, allocations: 0.603 MB / 399.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.09986, allocations: 132.7 kB / 399.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.09991, allocations: 15.95 kB / 399.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1001, allocations: 8 kB / 399.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1002, allocations: 15.97 kB / 399.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1002, allocations: 12 kB / 399.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1003, allocations: 168.5 kB / 400 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1003, allocations: 384 / 400 MB, free: 11.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.1009, allocations: 144 kB / 400.2 MB, free: 11.06 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {1 6,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.101, allocations: 111.2 kB / 400.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.1027, allocations: 0.767 MB / 401.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1027, allocations: 0 / 401.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.1034, allocations: 211.7 kB / 401.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1036, allocations: 28.42 kB / 401.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1051, allocations: 0.9464 MB / 402.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1054, allocations: 0.7798 MB / 403 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1055, allocations: 30.27 kB / 403 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1056, allocations: 15.44 kB / 403.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1056, allocations: 0 / 403.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of Templates: time 0.008078/0.1137, allocations: 4.861 MB / 407.9 MB, free: 3.238 MB / 302.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: