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: "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",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.002003/0.002003, allocations: 108 kB / 15.6 MB, free: 132 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.0024/0.002401, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.23/2.23, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01753/0.01753, allocations: 1.945 MB / 271.7 MB, free: 3.352 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.002084/0.002085, allocations: 80.09 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1719, allocations: 47.12 MB / 377.1 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.005999/0.178, allocations: 2.876 MB / 379.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1802, allocations: 0.7847 MB / 380.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1803, allocations: 4 kB / 380.7 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.1805, allocations: 43.55 kB / 380.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1808, allocations: 107 kB / 380.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.1814, allocations: 99.8 kB / 381 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.1819, allocations: 427 kB / 381.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.1822, allocations: 64.92 kB / 381.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1824, allocations: 147.4 kB / 381.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.1827, allocations: 175.3 kB / 381.8 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.1828, allocations: 31.94 kB / 381.8 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1829, allocations: 47.98 kB / 381.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.183, allocations: 67.7 kB / 381.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1832, allocations: 163.2 kB / 382.1 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.1837, allocations: 322.9 kB / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.1837, allocations: 0 / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1837, allocations: 0 / 382.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1838, allocations: 4 kB / 382.4 MB, free: 12.19 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.001551/0.1853, allocations: 0.6118 MB / 383 MB, free: 11.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.47e-05/0.1854, allocations: 15.89 kB / 383 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.1855, allocations: 66.72 kB / 383.1 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.1856, allocations: 32.56 kB / 383.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.1861, allocations: 263.7 kB / 383.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.1862, allocations: 16.94 kB / 383.4 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.1862, allocations: 24.38 kB / 383.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.1868, allocations: 229 kB / 383.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1868, allocations: 0 / 383.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.1869, allocations: 12 kB / 383.7 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1869, allocations: 7.938 kB / 383.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.1873, allocations: 190.2 kB / 383.8 MB, free: 10.63 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.00153/0.1889, allocations: 0.7445 MB / 384.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.1897, allocations: 302.7 kB / 384.9 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.19, allocations: 156.8 kB / 385 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.1901, allocations: 7.984 kB / 385 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.1901, allocations: 38.56 kB / 385.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.1901, allocations: 3.938 kB / 385.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.005973/0.1961, allocations: 1.542 MB / 386.6 MB, free: 7.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.1962, allocations: 59.41 kB / 386.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1965, allocations: 225 kB / 386.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.1966, allocations: 37.7 kB / 386.9 MB, free: 7.336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1967, allocations: 132.8 kB / 387.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1969, allocations: 122.2 kB / 387.2 MB, free: 7.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.197, allocations: 61.7 kB / 387.3 MB, free: 7.016 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1972, allocations: 334.8 kB / 387.6 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1974, allocations: 104.6 kB / 387.7 MB, free: 6.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.1976, allocations: 91.72 kB / 387.8 MB, free: 6.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1981, allocations: 233.2 kB / 388 MB, free: 6.254 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1982, allocations: 0 / 388 MB, free: 6.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009653/0.1991, allocations: 402.1 kB / 388.4 MB, free: 5.848 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1992, allocations: 11.92 kB / 388.4 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1992, allocations: 3.938 kB / 388.4 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.2011, allocations: 269.4 kB / 388.7 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.2017, allocations: 87.94 kB / 388.8 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.2039, allocations: 1.866 MB / 390.6 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.2041, allocations: 8.031 kB / 390.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.2042, allocations: 4 kB / 390.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003662/0.2045, allocations: 200 kB / 390.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001811/0.2047, allocations: 83.97 kB / 390.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004222/0.2052, allocations: 217.3 kB / 391.1 MB, free: 3.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.2052, allocations: 4.062 kB / 391.1 MB, free: 3.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001198/0.2064, allocations: 434.4 kB / 391.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2064, allocations: 12 kB / 391.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.2064, allocations: 3.938 kB / 391.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.2073, allocations: 197.5 kB / 391.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.2075, allocations: 59.95 kB / 391.8 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.2135, allocations: 3.996 MB / 395.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2138, allocations: 7.938 kB / 395.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.2138, allocations: 12 kB / 395.8 MB, free: 14.02 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.0002922/0.2141, allocations: 197.1 kB / 396 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.2142, allocations: 23.72 kB / 396.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2153, allocations: 414.5 kB / 396.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2153, allocations: 7.938 kB / 396.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2153, allocations: 4 kB / 396.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2153, allocations: 3.984 kB / 396.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.216, allocations: 353.4 kB / 396.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.216, allocations: 0 / 396.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.2166, allocations: 75.94 kB / 396.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.2182, allocations: 245.5 kB / 397.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.2183, allocations: 11.94 kB / 397.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.2204, allocations: 1.866 MB / 399 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2204, allocations: 0 / 399 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.2216, allocations: 0.6066 MB / 399.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2218, allocations: 136.7 kB / 399.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.2218, allocations: 8 kB / 399.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2221, allocations: 8.094 kB / 399.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.2221, allocations: 27.84 kB / 399.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2222, allocations: 8.062 kB / 399.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2224, allocations: 172.5 kB / 400 MB, free: 9.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2224, allocations: 0 / 400 MB, free: 9.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.2231, allocations: 140 kB / 400.1 MB, free: 9.559 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.002027/0.2251, allocations: 1.159 MB / 401.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.2277, allocations: 0.7742 MB / 402 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2277, allocations: 0 / 402 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007783/0.2285, allocations: 207.8 kB / 402.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.2291, allocations: 32.42 kB / 402.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/0.2359, allocations: 3.212 MB / 405.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.2366, allocations: 0.7721 MB / 406.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.2369, allocations: 22.28 kB / 406.3 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.237, allocations: 71.41 kB / 406.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of SimCode: time 1.262e-06/0.2371, allocations: 0 / 406.4 MB, free: 3.129 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05522/0.2923, allocations: 7.971 MB / 414.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 23.82/24.12, allocations: 8.047 kB / 414.3 MB, free: 11.08 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)