Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientValve.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.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001385/0.001385, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009072/0.009072, allocations: 1.939 MB / 272.5 MB, free: 10.05 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.001372/0.001372, allocations: 71.89 kB / 331.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2291, allocations: 47.11 MB / 378.4 MB, free: 53.15 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.003227/0.2324, allocations: 1.953 MB / 380.3 MB, free: 52.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2335, allocations: 0.5751 MB / 380.9 MB, free: 52.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2336, allocations: 2.25 kB / 380.9 MB, free: 52.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.073e-05/0.2337, allocations: 19.03 kB / 380.9 MB, free: 52.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.2339, allocations: 41.45 kB / 381 MB, free: 52.35 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2342, allocations: 37.62 kB / 381 MB, free: 52.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2344, allocations: 133.4 kB / 381.2 MB, free: 52.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2345, allocations: 41.92 kB / 381.2 MB, free: 52.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.2346, allocations: 46.8 kB / 381.2 MB, free: 52.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2347, allocations: 58.28 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2347, allocations: 11.31 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.2348, allocations: 11.94 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2348, allocations: 19.92 kB / 381.3 MB, free: 52.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.2349, allocations: 64.28 kB / 381.4 MB, free: 52.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.2351, allocations: 105.3 kB / 381.5 MB, free: 52.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2351, allocations: 0.6562 kB / 381.5 MB, free: 52.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2352, allocations: 0 / 381.5 MB, free: 52.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2352, allocations: 2.25 kB / 381.5 MB, free: 52.28 MB / 318.1 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.0005259/0.2357, allocations: 428.6 kB / 381.9 MB, free: 51.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2357, allocations: 13.5 kB / 381.9 MB, free: 51.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.2358, allocations: 15.34 kB / 382 MB, free: 51.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2359, allocations: 195.8 kB / 382.1 MB, free: 51.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.236, allocations: 11.59 kB / 382.2 MB, free: 51.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.236, allocations: 5.531 kB / 382.2 MB, free: 51.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2362, allocations: 93.59 kB / 382.3 MB, free: 51.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2362, allocations: 3.938 kB / 382.3 MB, free: 51.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2362, allocations: 5.562 kB / 382.3 MB, free: 51.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2362, allocations: 2.062 kB / 382.3 MB, free: 51.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.2364, allocations: 55.55 kB / 382.3 MB, free: 51.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.2369, allocations: 390.3 kB / 382.7 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.2373, allocations: 67.73 kB / 382.8 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.2374, allocations: 26.81 kB / 382.8 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2374, allocations: 1.219 kB / 382.8 MB, free: 51.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.2374, allocations: 31.12 kB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2374, allocations: 1.156 kB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.2377, allocations: 89.16 kB / 382.9 MB, free: 51.24 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2377, allocations: 55.38 kB / 383 MB, free: 51.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2378, allocations: 180.8 kB / 383.1 MB, free: 51.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.2379, allocations: 30.64 kB / 383.2 MB, free: 51.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2379, allocations: 115.4 kB / 383.3 MB, free: 50.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.2379, allocations: 13.72 kB / 383.3 MB, free: 50.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.238, allocations: 18.11 kB / 383.3 MB, free: 50.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.238, allocations: 324 kB / 383.6 MB, free: 50.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.2381, allocations: 25.53 kB / 383.7 MB, free: 50.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.2382, allocations: 18.88 kB / 383.7 MB, free: 50.6 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2383, allocations: 50.81 kB / 383.7 MB, free: 50.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2383, allocations: 0 / 383.7 MB, free: 50.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001532/0.2384, allocations: 88.86 kB / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2385, allocations: 7.031 kB / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2385, allocations: 4.594 kB / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2385, allocations: 0 / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.2386, allocations: 12.91 kB / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2386, allocations: 0 / 383.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2386, allocations: 19.69 kB / 383.9 MB, free: 50.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.2387, allocations: 1.406 kB / 383.9 MB, free: 50.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.309e-05/0.2387, allocations: 106.4 kB / 384 MB, free: 50.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.229e-05/0.2388, allocations: 16.59 kB / 384 MB, free: 50.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.987e-05/0.2389, allocations: 45.61 kB / 384 MB, free: 50.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.2389, allocations: 3.938 kB / 384 MB, free: 50.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001501/0.239, allocations: 76.34 kB / 384.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.2391, allocations: 7.969 kB / 384.1 MB, free: 50.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.2391, allocations: 4 kB / 384.1 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.2391, allocations: 3.938 kB / 384.1 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.2391, allocations: 12.34 kB / 384.1 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.2391, allocations: 2.422 kB / 384.1 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.2392, allocations: 3.141 kB / 384.1 MB, free: 50.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.2392, allocations: 1.906 kB / 384.1 MB, free: 50.37 MB / 318.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 (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 5.264e-05/0.2393, allocations: 184.8 kB / 384.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2393, allocations: 12.69 kB / 384.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2395, allocations: 91.16 kB / 384.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2395, allocations: 1.688 kB / 384.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2395, allocations: 0 / 384.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2395, allocations: 0.5625 kB / 384.4 MB, free: 50.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.2398, allocations: 347.6 kB / 384.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2398, allocations: 3.656 kB / 384.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.2399, allocations: 9.906 kB / 384.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2399, allocations: 0.8438 kB / 384.8 MB, free: 49.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.2399, allocations: 10.84 kB / 384.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2399, allocations: 1.406 kB / 384.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2399, allocations: 0.7031 kB / 384.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.24, allocations: 174.2 kB / 385 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.2401, allocations: 93.75 kB / 385 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.2401, allocations: 1.219 kB / 385 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.2402, allocations: 7.562 kB / 385.1 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.2402, allocations: 11.36 kB / 385.1 MB, free: 49.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2402, allocations: 1.344 kB / 385.1 MB, free: 49.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.594e-05/0.2403, allocations: 138.8 kB / 385.2 MB, free: 49.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2403, allocations: 0 / 385.2 MB, free: 49.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.2406, allocations: 42.44 kB / 385.2 MB, free: 49.41 MB / 318.1 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 8.242e-05/0.2407, allocations: 92.77 kB / 385.3 MB, free: 49.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.2409, allocations: 70.91 kB / 385.4 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.241, allocations: 1.406 kB / 385.4 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.241, allocations: 19.03 kB / 385.4 MB, free: 49.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2413, allocations: 23.38 kB / 385.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2418, allocations: 278.2 kB / 385.7 MB, free: 49.09 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.2419, allocations: 0.701 MB / 386.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.181e-05/0.2419, allocations: 13.47 kB / 386.4 MB, free: 48.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.242, allocations: 12.62 kB / 386.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.242, allocations: 0 / 386.4 MB, free: 48.38 MB / 318.1 MB Notification: Performance of Templates: time 0.003346/0.2453, allocations: 1.016 MB / 387.5 MB, free: 48.32 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestPatientValve.makefile (rm -f MEV_MEV.Test.TestPatientValve.pipe ; mkfifo MEV_MEV.Test.TestPatientValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientValve.pipe >> ../files/MEV_MEV.Test.TestPatientValve.sim & ./MEV_MEV.Test.TestPatientValve -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1)