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: "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipeSegment,fileNamePrefix="MEV_MEV_Test_TestPipeSegment",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 194.6 kB / 16.53 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 2.137/2.137, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01556/0.01556, allocations: 1.928 MB / 271.7 MB, free: 3.34 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.001735/0.001735, allocations: 71.91 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1619, allocations: 47.13 MB / 377.1 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.006131/0.1681, allocations: 2.241 MB / 379.3 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1699, allocations: 0.6325 MB / 379.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1701, allocations: 4 kB / 379.9 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1703, allocations: 23.72 kB / 380 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1705, allocations: 71.41 kB / 380 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.171, allocations: 59.86 kB / 380.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.1714, allocations: 231.4 kB / 380.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.1717, allocations: 29.91 kB / 380.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1719, allocations: 87.64 kB / 380.4 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1721, allocations: 95.55 kB / 380.5 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.1722, allocations: 16 kB / 380.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1723, allocations: 20 kB / 380.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.1723, allocations: 35.84 kB / 380.6 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1725, allocations: 91.53 kB / 380.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003529/0.1728, allocations: 179.4 kB / 380.9 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1728, allocations: 0 / 380.9 MB, free: 13.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1729, allocations: 0 / 380.9 MB, free: 13.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1729, allocations: 0 / 380.9 MB, free: 13.72 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.00116/0.174, allocations: 490.6 kB / 381.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.1741, allocations: 15.89 kB / 381.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.1742, allocations: 46.73 kB / 381.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.1743, allocations: 16.75 kB / 381.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1747, allocations: 221.8 kB / 381.6 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1747, allocations: 12.38 kB / 381.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.1748, allocations: 12.38 kB / 381.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.1752, allocations: 145.7 kB / 381.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1752, allocations: 3.984 kB / 381.8 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1753, allocations: 8 kB / 381.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1753, allocations: 4 kB / 381.8 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.1756, allocations: 95.89 kB / 381.9 MB, free: 12.57 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.001112/0.1767, allocations: 0.5 MB / 382.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.1771, allocations: 154.8 kB / 382.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.1774, allocations: 96.81 kB / 382.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.1775, allocations: 4 kB / 382.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.1775, allocations: 42.44 kB / 382.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1775, allocations: 4 kB / 382.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.003171/0.1807, allocations: 0.8276 MB / 383.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.082e-05/0.1808, allocations: 59.34 kB / 383.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1811, allocations: 186.9 kB / 383.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1811, allocations: 29.7 kB / 383.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.1812, allocations: 112.5 kB / 383.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.1813, allocations: 67.09 kB / 384 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.727e-05/0.1814, allocations: 37.62 kB / 384 MB, free: 10.28 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.1816, allocations: 322.8 kB / 384.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1818, allocations: 56.83 kB / 384.4 MB, free: 9.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1819, allocations: 49.88 kB / 384.4 MB, free: 9.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.1822, allocations: 121.1 kB / 384.6 MB, free: 9.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1822, allocations: 4 kB / 384.6 MB, free: 9.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000488/0.1827, allocations: 218.2 kB / 384.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1828, allocations: 7.125 kB / 384.8 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1828, allocations: 4 kB / 384.8 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.1835, allocations: 100.7 kB / 384.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.1841, allocations: 71.88 kB / 385 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.1853, allocations: 1.177 MB / 386.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.1854, allocations: 4.031 kB / 386.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1855, allocations: 11.98 kB / 386.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002131/0.1857, allocations: 136.1 kB / 386.3 MB, free: 7.945 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001064/0.1858, allocations: 47.88 kB / 386.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002417/0.1861, allocations: 117 kB / 386.4 MB, free: 7.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.1861, allocations: 4 kB / 386.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005984/0.1867, allocations: 226.6 kB / 386.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1867, allocations: 4 kB / 386.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.1867, allocations: 3.938 kB / 386.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.187, allocations: 76.84 kB / 386.8 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.1873, allocations: 47.97 kB / 386.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.1897, allocations: 1.834 MB / 388.6 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1899, allocations: 3.938 kB / 388.6 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1899, allocations: 4.031 kB / 388.6 MB, free: 5.438 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.0002106/0.1901, allocations: 193.1 kB / 388.8 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1902, allocations: 15.81 kB / 388.8 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.1908, allocations: 244.1 kB / 389.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1909, allocations: 0 / 389.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1909, allocations: 0 / 389.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1909, allocations: 4 kB / 389.1 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.1913, allocations: 257.6 kB / 389.3 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1913, allocations: 3.938 kB / 389.3 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.1917, allocations: 67.89 kB / 389.4 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/0.1922, allocations: 80.78 kB / 389.5 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1923, allocations: 8 kB / 389.5 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009047/0.1932, allocations: 1.185 MB / 390.7 MB, free: 3.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1932, allocations: 3.938 kB / 390.7 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.1939, allocations: 388.1 kB / 391.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.194, allocations: 108.9 kB / 391.2 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.1941, allocations: 4 kB / 391.2 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.1942, allocations: 4 kB / 391.2 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.1943, allocations: 11.98 kB / 391.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1943, allocations: 4 kB / 391.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1945, allocations: 132.1 kB / 391.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1945, allocations: 4.062 kB / 391.3 MB, free: 2.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004439/0.1949, allocations: 75.94 kB / 391.4 MB, free: 2.516 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.001257/0.1962, allocations: 0.9182 MB / 392.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.1975, allocations: 390.3 kB / 392.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.1976, allocations: 0 / 392.7 MB, free: 1.176 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.1981, allocations: 119.8 kB / 392.8 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.1986, allocations: 27.92 kB / 392.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004263/0.2029, allocations: 2.227 MB / 395.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.2035, allocations: 0.7245 MB / 395.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2036, allocations: 21.41 kB / 395.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.2037, allocations: 39.42 kB / 395.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of SimCode: time 3.536e-06/0.2037, allocations: 0 / 395.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/0.2427, allocations: 4.494 MB / 400.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.06, allocations: 8.062 kB / 400.4 MB, free: 9.344 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipeSegment_fmu --startTime=0 --stopTime=0.002 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipeSegment.fmu > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)