Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00683/0.00683, allocations: 1.935 MB / 18.67 MB, free: 3.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 225 MB, free: 4.828 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009394/0.0009394, allocations: 104.7 kB / 272.9 MB, free: 6.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009041/0.0009043, allocations: 55.92 kB / 330.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1869, allocations: 47.11 MB / 377.9 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002807/0.1897, allocations: 2.272 MB / 380.2 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.1905, allocations: 0.6092 MB / 380.8 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.1906, allocations: 2.906 kB / 380.8 MB, free: 42.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.806e-05/0.1907, allocations: 11.91 kB / 380.8 MB, free: 42.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1908, allocations: 36.58 kB / 380.9 MB, free: 42.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1911, allocations: 30.19 kB / 380.9 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.1912, allocations: 134.1 kB / 381 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1914, allocations: 34.41 kB / 381.1 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.1914, allocations: 44.58 kB / 381.1 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1916, allocations: 49.69 kB / 381.1 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1916, allocations: 5.594 kB / 381.1 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.643e-05/0.1917, allocations: 13.44 kB / 381.2 MB, free: 42.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.1917, allocations: 18.48 kB / 381.2 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.1918, allocations: 60.59 kB / 381.2 MB, free: 42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1919, allocations: 107.2 kB / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1919, allocations: 3.938 kB / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1919, allocations: 0 / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1919, allocations: 1.375 kB / 381.3 MB, free: 41.93 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004809/0.1924, allocations: 422.1 kB / 381.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1925, allocations: 12.19 kB / 381.8 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1925, allocations: 15.69 kB / 381.8 MB, free: 41.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1927, allocations: 203.2 kB / 382 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1927, allocations: 3.812 kB / 382 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1927, allocations: 8.688 kB / 382 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1929, allocations: 92.41 kB / 382.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1929, allocations: 0 / 382.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1929, allocations: 1.062 kB / 382.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1929, allocations: 2.25 kB / 382.1 MB, free: 41.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1931, allocations: 62.86 kB / 382.2 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.1935, allocations: 389.7 kB / 382.5 MB, free: 40.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.1939, allocations: 73.69 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.194, allocations: 26.14 kB / 382.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.194, allocations: 1.25 kB / 382.6 MB, free: 40.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.045e-05/0.194, allocations: 34.64 kB / 382.7 MB, free: 40.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1941, allocations: 1 kB / 382.7 MB, free: 40.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002225/0.1943, allocations: 86.11 kB / 382.8 MB, free: 40.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.1943, allocations: 51.41 kB / 382.8 MB, free: 40.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1944, allocations: 180.4 kB / 383 MB, free: 40.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.1945, allocations: 29.7 kB / 383 MB, free: 40.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1945, allocations: 117.7 kB / 383.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-06/0.1945, allocations: 8.969 kB / 383.1 MB, free: 40.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.1946, allocations: 19.38 kB / 383.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.1946, allocations: 325 kB / 383.5 MB, free: 39.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.1947, allocations: 27.41 kB / 383.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.1947, allocations: 18.86 kB / 383.5 MB, free: 39.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.1948, allocations: 50.31 kB / 383.6 MB, free: 39.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1948, allocations: 5.125 kB / 383.6 MB, free: 39.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001384/0.195, allocations: 89.58 kB / 383.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.195, allocations: 4.375 kB / 383.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.195, allocations: 5.156 kB / 383.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.195, allocations: 0 / 383.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1951, allocations: 13.84 kB / 383.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1951, allocations: 0 / 383.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.1952, allocations: 19.48 kB / 383.7 MB, free: 39.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.1952, allocations: 1.031 kB / 383.7 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.737e-05/0.1953, allocations: 104.9 kB / 383.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.641e-05/0.1953, allocations: 17 kB / 383.8 MB, free: 39.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.356e-05/0.1954, allocations: 40.16 kB / 383.9 MB, free: 39.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.21e-07/0.1954, allocations: 0 / 383.9 MB, free: 39.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000118/0.1955, allocations: 79.58 kB / 383.9 MB, free: 39.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.1955, allocations: 5.188 kB / 383.9 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-06/0.1955, allocations: 4 kB / 383.9 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.1955, allocations: 9.188 kB / 383.9 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.1956, allocations: 8.562 kB / 384 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-06/0.1956, allocations: 0 / 384 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1957, allocations: 6.797 kB / 384 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.1957, allocations: 1.125 kB / 384 MB, free: 39.57 MB / 298.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.1957, allocations: 186.2 kB / 384.1 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1957, allocations: 13.09 kB / 384.2 MB, free: 39.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1959, allocations: 85.66 kB / 384.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1959, allocations: 5.312 kB / 384.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1959, allocations: 0 / 384.2 MB, free: 39.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1959, allocations: 4 kB / 384.3 MB, free: 39.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1962, allocations: 347.7 kB / 384.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1962, allocations: 5.234 kB / 384.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.1963, allocations: 10.47 kB / 384.6 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1963, allocations: 5 kB / 384.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1963, allocations: 1.094 kB / 384.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1963, allocations: 1.281 kB / 384.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1963, allocations: 0 / 384.6 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1966, allocations: 0.7509 MB / 385.4 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1967, allocations: 101.3 kB / 385.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.1967, allocations: 1.062 kB / 385.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1968, allocations: 6.188 kB / 385.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1968, allocations: 10.58 kB / 385.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.1968, allocations: 0.9375 kB / 385.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.238e-05/0.1969, allocations: 140.1 kB / 385.6 MB, free: 37.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1969, allocations: 0 / 385.6 MB, free: 37.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.1974, allocations: 42.41 kB / 385.7 MB, free: 37.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.17e-05/0.1975, allocations: 98.36 kB / 385.8 MB, free: 37.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1977, allocations: 67.41 kB / 385.8 MB, free: 37.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1977, allocations: 0 / 385.8 MB, free: 37.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.1977, allocations: 23.2 kB / 385.8 MB, free: 37.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.198, allocations: 12.55 kB / 385.9 MB, free: 37.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.1986, allocations: 415.9 kB / 386.3 MB, free: 37.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.1987, allocations: 0.7054 MB / 387 MB, free: 36.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1988, allocations: 8.891 kB / 387 MB, free: 36.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.1988, allocations: 11.91 kB / 387 MB, free: 36.7 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1988, allocations: 0 / 387 MB, free: 36.7 MB / 298.7 MB Notification: Performance of Templates: time 0.002899/0.2017, allocations: 0.9922 MB / 388 MB, free: 36.09 MB / 298.7 MB make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1)