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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006807/0.0006807, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009139/0.001595, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007031/0.0007031, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000887/0.00159, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8049/0.8049, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1235/0.9284, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005686/0.005686, allocations: 1.432 MB / 222.8 MB, free: 15.17 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.007405, allocations: 0.9475 MB / 223.8 MB, free: 14.23 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") translateModel(MEV.Test.TestPatientValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 225.1 MB, free: 12.94 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.816e-05, allocations: 2.312 kB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.003054/0.003072, allocations: 2.049 MB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.004038, allocations: 0.5734 MB / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.004101, allocations: 0 / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.004159, allocations: 19.84 kB / 227.7 MB, free: 10.26 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004274, allocations: 47.55 kB / 227.8 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.004412, allocations: 35.84 kB / 227.8 MB, free: 10.18 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.004604, allocations: 151.1 kB / 227.9 MB, free: 10.03 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.004707, allocations: 25.73 kB / 228 MB, free: 10.01 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.004869, allocations: 87.8 kB / 228.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.869e-05/0.004968, allocations: 35.91 kB / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.004992, allocations: 8 kB / 228.1 MB, free: 9.879 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.457e-05/0.005066, allocations: 19.98 kB / 228.1 MB, free: 9.859 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.00509, allocations: 19.88 kB / 228.1 MB, free: 9.84 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.005133, allocations: 39.88 kB / 228.2 MB, free: 9.801 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.005303, allocations: 79.69 kB / 228.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.215e-05/0.005315, allocations: 0 / 228.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005315, allocations: 0 / 228.3 MB, free: 9.723 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.005329, allocations: 4 kB / 228.3 MB, free: 9.719 MB / 234.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.0004962/0.005825, allocations: 344 kB / 228.6 MB, free: 9.359 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.005857, allocations: 8.031 kB / 228.6 MB, free: 9.352 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.005902, allocations: 16.92 kB / 228.6 MB, free: 9.336 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.006054, allocations: 141.6 kB / 228.8 MB, free: 9.172 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.006065, allocations: 4.375 kB / 228.8 MB, free: 9.168 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.006082, allocations: 12.31 kB / 228.8 MB, free: 9.156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.006224, allocations: 90.8 kB / 228.9 MB, free: 9.059 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006232, allocations: 192 / 228.9 MB, free: 9.059 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.006241, allocations: 384 / 228.9 MB, free: 9.059 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.006247, allocations: 7.938 kB / 228.9 MB, free: 9.051 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.006296, allocations: 23.92 kB / 228.9 MB, free: 9.027 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.006697, allocations: 220 kB / 229.1 MB, free: 8.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.006918, allocations: 54.52 kB / 229.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.006931, allocations: 4.859 kB / 229.2 MB, free: 8.727 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.006945, allocations: 4 kB / 229.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.006963, allocations: 38.5 kB / 229.2 MB, free: 8.676 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.006964, allocations: 0 / 229.2 MB, free: 8.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.647e-05/0.00706, allocations: 49.78 kB / 229.3 MB, free: 8.621 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.007084, allocations: 55.39 kB / 229.3 MB, free: 8.555 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.852e-05/0.007163, allocations: 154.5 kB / 229.5 MB, free: 8.391 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.007172, allocations: 25.7 kB / 229.5 MB, free: 8.359 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.007217, allocations: 112.2 kB / 229.6 MB, free: 8.246 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.007224, allocations: 11.91 kB / 229.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.007251, allocations: 21.67 kB / 229.6 MB, free: 8.207 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.007317, allocations: 326.8 kB / 230 MB, free: 7.879 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.007332, allocations: 8.859 kB / 230 MB, free: 7.867 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.007342, allocations: 7.938 kB / 230 MB, free: 7.859 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.007373, allocations: 28.83 kB / 230 MB, free: 7.828 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007374, allocations: 4 kB / 230 MB, free: 7.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.425e-05/0.007429, allocations: 57.8 kB / 230.1 MB, free: 7.762 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.007439, allocations: 4 kB / 230.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.007443, allocations: 0 / 230.1 MB, free: 7.758 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.007452, allocations: 4 kB / 230.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.007497, allocations: 8 kB / 230.1 MB, free: 7.746 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-06/0.007499, allocations: 3.938 kB / 230.1 MB, free: 7.742 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.007529, allocations: 7.984 kB / 230.1 MB, free: 7.734 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.007533, allocations: 0 / 230.1 MB, free: 7.734 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.287e-05/0.007566, allocations: 92.08 kB / 230.2 MB, free: 7.641 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.453e-06/0.007572, allocations: 8 kB / 230.2 MB, free: 7.633 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.86e-05/0.007591, allocations: 20.84 kB / 230.2 MB, free: 7.609 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.71e-07/0.007591, allocations: 0 / 230.2 MB, free: 7.609 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 3.691e-05/0.007628, allocations: 45.69 kB / 230.2 MB, free: 7.559 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-06/0.007632, allocations: 4 kB / 230.2 MB, free: 7.555 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-07/0.007632, allocations: 0 / 230.2 MB, free: 7.555 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.21e-07/0.007633, allocations: 4 kB / 230.3 MB, free: 7.551 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.007657, allocations: 19.86 kB / 230.3 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.01e-07/0.007658, allocations: 0 / 230.3 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.007677, allocations: 11.94 kB / 230.3 MB, free: 7.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-06/0.007679, allocations: 4 kB / 230.3 MB, free: 7.516 MB / 234.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.049e-05/0.007739, allocations: 180.2 kB / 230.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.007753, allocations: 7.984 kB / 230.5 MB, free: 7.324 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.00782, allocations: 54.03 kB / 230.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007823, allocations: 4 kB / 230.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.007824, allocations: 0 / 230.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007828, allocations: 4.234 kB / 230.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.007977, allocations: 215.5 kB / 230.7 MB, free: 7.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007978, allocations: 4 kB / 230.7 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.008, allocations: 11.98 kB / 230.8 MB, free: 7.004 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.008021, allocations: 16.27 kB / 230.8 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.008022, allocations: 0 / 230.8 MB, free: 6.988 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.008026, allocations: 7.938 kB / 230.8 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008027, allocations: 0 / 230.8 MB, free: 6.98 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.00803, allocations: 7.922 kB / 230.8 MB, free: 6.973 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.57e-05/0.008096, allocations: 148.4 kB / 230.9 MB, free: 6.809 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.008105, allocations: 4 kB / 230.9 MB, free: 6.805 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.008138, allocations: 0 / 230.9 MB, free: 6.805 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.008158, allocations: 7.984 kB / 230.9 MB, free: 6.797 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.008162, allocations: 3.938 kB / 231 MB, free: 6.793 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.00819, allocations: 40.83 kB / 231 MB, free: 6.75 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00819, allocations: 0 / 231 MB, free: 6.75 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.008342, allocations: 43.89 kB / 231 MB, free: 6.707 MB / 234.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 8.591e-05/0.008428, allocations: 84.34 kB / 231.1 MB, free: 6.613 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.226e-05/0.008501, allocations: 41.64 kB / 231.2 MB, free: 6.566 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.008505, allocations: 0 / 231.2 MB, free: 6.566 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.008526, allocations: 16.84 kB / 231.2 MB, free: 6.547 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008689, allocations: 49.73 kB / 231.2 MB, free: 6.492 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.01016, allocations: 280.9 kB / 231.5 MB, free: 6.184 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.01019, allocations: 67.33 kB / 231.6 MB, free: 6.098 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.725e-05/0.01021, allocations: 8 kB / 231.6 MB, free: 6.09 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.01026, allocations: 59.36 kB / 231.6 MB, free: 6.031 MB / 234.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01026, allocations: 0 / 231.6 MB, free: 6.031 MB / 234.7 MB Notification: Performance of Templates: time 0.002118/0.01238, allocations: 0.9874 MB / 232.6 MB, free: 5.055 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientValve.makefile [Timeout 660] (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=240 -lv LOG_STATS > MEV_MEV.Test.TestPatientValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.183852690272033]