Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package MEV with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000911/0.0009111, allocations: 178.2 kB / 15.43 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007491/0.007491, allocations: 1.937 MB / 18.11 MB, free: 3.586 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.7 MB / 245.1 MB, free: 13.82 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008151, allocations: 101.7 kB / 296.8 MB, free: 10.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003141, allocations: 8 kB / 358.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2344, allocations: 50.91 MB / 409.3 MB, free: 50.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.001798/0.2363, allocations: 1.854 MB / 411.2 MB, free: 49.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.2372, allocations: 0.6159 MB / 411.8 MB, free: 49.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.2372, allocations: 2.031 kB / 411.8 MB, free: 49.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.2373, allocations: 12.45 kB / 411.8 MB, free: 49.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2374, allocations: 35.64 kB / 411.8 MB, free: 49.56 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2376, allocations: 36.5 kB / 411.9 MB, free: 49.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.2377, allocations: 132.4 kB / 412 MB, free: 49.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2378, allocations: 25.66 kB / 412 MB, free: 49.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.2379, allocations: 45.36 kB / 412.1 MB, free: 49.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.238, allocations: 53.88 kB / 412.1 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.238, allocations: 4.5 kB / 412.1 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.2381, allocations: 11.88 kB / 412.1 MB, free: 49.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2381, allocations: 17.22 kB / 412.2 MB, free: 49.47 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.2382, allocations: 75.84 kB / 412.2 MB, free: 49.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2383, allocations: 108.5 kB / 412.3 MB, free: 49.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2383, allocations: 0.5938 kB / 412.3 MB, free: 49.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2384, allocations: 0 / 412.3 MB, free: 49.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.2384, allocations: 2.406 kB / 412.3 MB, free: 49.4 MB / 330.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.0004284/0.2388, allocations: 407.3 kB / 412.7 MB, free: 49.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2388, allocations: 13.66 kB / 412.8 MB, free: 49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.2389, allocations: 11.31 kB / 412.8 MB, free: 49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.239, allocations: 205.5 kB / 413 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2391, allocations: 11.97 kB / 413 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2391, allocations: 8.625 kB / 413 MB, free: 48.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.2393, allocations: 92.3 kB / 413.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2393, allocations: 1.031 kB / 413.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2393, allocations: 4.906 kB / 413.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2393, allocations: 1.906 kB / 413.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.2395, allocations: 64.16 kB / 413.1 MB, free: 48.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.24, allocations: 381.9 kB / 413.5 MB, free: 48.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.2404, allocations: 72 kB / 413.6 MB, free: 48.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.2404, allocations: 25.12 kB / 413.6 MB, free: 48.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.2405, allocations: 4.984 kB / 413.6 MB, free: 48.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.2405, allocations: 40.53 kB / 413.7 MB, free: 48.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2405, allocations: 0 / 413.7 MB, free: 48.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002461/0.2408, allocations: 101.1 kB / 413.8 MB, free: 48.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.2408, allocations: 52.5 kB / 413.8 MB, free: 48.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2409, allocations: 176.9 kB / 414 MB, free: 48.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2409, allocations: 27.02 kB / 414 MB, free: 48.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.241, allocations: 115.2 kB / 414.1 MB, free: 48.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/0.241, allocations: 10.11 kB / 414.1 MB, free: 48.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.241, allocations: 3.438 kB / 414.1 MB, free: 48.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.2411, allocations: 322.2 kB / 414.4 MB, free: 47.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.2411, allocations: 17.55 kB / 414.5 MB, free: 47.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.2412, allocations: 27.75 kB / 414.5 MB, free: 47.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2413, allocations: 55.03 kB / 414.5 MB, free: 47.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2413, allocations: 0 / 414.5 MB, free: 47.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001529/0.2415, allocations: 87.47 kB / 414.6 MB, free: 47.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.2415, allocations: 102.4 kB / 414.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2415, allocations: 1.469 kB / 414.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2415, allocations: 1.203 kB / 414.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.2416, allocations: 14.02 kB / 414.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2416, allocations: 1.281 kB / 414.7 MB, free: 47.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.2417, allocations: 16.77 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.2417, allocations: 3.391 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-06/0.2417, allocations: 5 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001058/0.2418, allocations: 50.19 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.2418, allocations: 0 / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-06/0.2418, allocations: 4.656 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.2419, allocations: 10.22 kB / 414.8 MB, free: 47.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.2419, allocations: 7.172 kB / 414.8 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.242, allocations: 12.19 kB / 414.9 MB, free: 47.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.242, allocations: 1.094 kB / 414.9 MB, free: 47.57 MB / 330.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 6.18e-05/0.242, allocations: 189.2 kB / 415 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.2421, allocations: 13.22 kB / 415.1 MB, free: 47.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.2423, allocations: 89.19 kB / 415.1 MB, free: 47.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2423, allocations: 7.25 kB / 415.1 MB, free: 47.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.2423, allocations: 1.219 kB / 415.1 MB, free: 47.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2423, allocations: 0.625 kB / 415.1 MB, free: 47.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.2427, allocations: 358.5 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2427, allocations: 1 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.2428, allocations: 14.59 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2428, allocations: 1.031 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.2429, allocations: 1.875 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2429, allocations: 1.062 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2429, allocations: 1.031 kB / 415.5 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.2431, allocations: 187.6 kB / 415.7 MB, free: 46.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.2431, allocations: 98.48 kB / 415.8 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.2432, allocations: 1.219 kB / 415.8 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.2433, allocations: 3.188 kB / 415.8 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.2434, allocations: 13.61 kB / 415.8 MB, free: 46.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2434, allocations: 3.906 kB / 415.8 MB, free: 46.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.2435, allocations: 133.9 kB / 415.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2435, allocations: 0 / 415.9 MB, free: 46.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004898/0.244, allocations: 37.78 kB / 416 MB, free: 46.67 MB / 330.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 0.0001128/0.2441, allocations: 109.5 kB / 416.1 MB, free: 46.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.2444, allocations: 78.09 kB / 416.2 MB, free: 46.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2444, allocations: 0 / 416.2 MB, free: 46.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.2445, allocations: 17.31 kB / 416.2 MB, free: 46.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.245, allocations: 20.56 kB / 416.2 MB, free: 46.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.2455, allocations: 322.8 kB / 416.5 MB, free: 46.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2457, allocations: 0.7087 MB / 417.2 MB, free: 45.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.2457, allocations: 8.891 kB / 417.2 MB, free: 45.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2458, allocations: 16.39 kB / 417.3 MB, free: 45.64 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2458, allocations: 3.938 kB / 417.3 MB, free: 45.64 MB / 330.7 MB Notification: Performance of Templates: time 0.004251/0.25, allocations: 0.9316 MB / 418.2 MB, free: 45.59 MB / 330.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)