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.001806/0.001806, allocations: 85.48 kB / 19.44 MB, free: 336 kB / 13.93 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.002063/0.002063, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 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 1.3/1.3, allocations: 158.6 MB / 184.6 MB, free: 2.902 MB / 170.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.009476/0.009476, allocations: 1.428 MB / 238.3 MB, free: 13.83 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.393e-06/1.393e-06, allocations: 0 / 303.9 MB, free: 61.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.54e-05, allocations: 4.297 kB / 303.9 MB, free: 61.36 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientValve): time 0.002552/0.002577, allocations: 1.975 MB / 305.9 MB, free: 60.03 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.003406, allocations: 0.5485 MB / 306.4 MB, free: 59.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.029e-05/0.003467, allocations: 1.219 kB / 306.4 MB, free: 59.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.022e-05/0.003517, allocations: 23.67 kB / 306.4 MB, free: 59.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.00366, allocations: 47.69 kB / 306.5 MB, free: 59.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.003849, allocations: 40.95 kB / 306.5 MB, free: 59.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.004029, allocations: 135.7 kB / 306.7 MB, free: 59.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.00414, allocations: 26.33 kB / 306.7 MB, free: 59.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.004268, allocations: 73.5 kB / 306.8 MB, free: 59.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.004366, allocations: 44.69 kB / 306.8 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.004391, allocations: 7.875 kB / 306.8 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.004454, allocations: 18.48 kB / 306.8 MB, free: 59.46 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.004479, allocations: 21.67 kB / 306.8 MB, free: 59.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.356e-05/0.004542, allocations: 41.44 kB / 306.9 MB, free: 59.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.004731, allocations: 114.7 kB / 307 MB, free: 59.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004734, allocations: 0 / 307 MB, free: 59.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.004735, allocations: 0 / 307 MB, free: 59.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00474, allocations: 0 / 307 MB, free: 59.38 MB / 282.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.0005122/0.005253, allocations: 451.5 kB / 307.4 MB, free: 58.96 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.00529, allocations: 14.44 kB / 307.5 MB, free: 58.96 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.00535, allocations: 19.64 kB / 307.5 MB, free: 58.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.005514, allocations: 157.3 kB / 307.6 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.005529, allocations: 6.438 kB / 307.6 MB, free: 58.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.005545, allocations: 8.875 kB / 307.6 MB, free: 58.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.005717, allocations: 85.36 kB / 307.7 MB, free: 58.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.005728, allocations: 2.016 kB / 307.7 MB, free: 58.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.005739, allocations: 4.375 kB / 307.7 MB, free: 58.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005744, allocations: 6.125 kB / 307.7 MB, free: 58.72 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.005876, allocations: 47.86 kB / 307.8 MB, free: 58.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.006366, allocations: 384.9 kB / 308.2 MB, free: 58.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.006822, allocations: 76.22 kB / 308.2 MB, free: 58.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.006876, allocations: 25.48 kB / 308.3 MB, free: 58.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.006892, allocations: 1.062 kB / 308.3 MB, free: 58.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.006904, allocations: 35.39 kB / 308.3 MB, free: 58.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006905, allocations: 0 / 308.3 MB, free: 58.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002488/0.007154, allocations: 82.92 kB / 308.4 MB, free: 58.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.007172, allocations: 53.33 kB / 308.4 MB, free: 58.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.0073, allocations: 229.5 kB / 308.7 MB, free: 57.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.007307, allocations: 29.7 kB / 308.7 MB, free: 57.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.007369, allocations: 166.6 kB / 308.8 MB, free: 57.79 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.007381, allocations: 19.75 kB / 308.9 MB, free: 57.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.007421, allocations: 30.28 kB / 308.9 MB, free: 57.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.007477, allocations: 0.4955 MB / 309.4 MB, free: 57.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.007535, allocations: 28.52 kB / 309.4 MB, free: 57.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.00758, allocations: 16.81 kB / 309.4 MB, free: 57.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.406e-05/0.007674, allocations: 45.27 kB / 309.5 MB, free: 57.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007675, allocations: 0 / 309.5 MB, free: 57.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001407/0.007816, allocations: 85.3 kB / 309.6 MB, free: 57.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.007827, allocations: 8.531 kB / 309.6 MB, free: 57.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.007831, allocations: 1.062 kB / 309.6 MB, free: 57.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.007845, allocations: 0 / 309.6 MB, free: 57.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.396e-05/0.007919, allocations: 14.73 kB / 309.6 MB, free: 57.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.007923, allocations: 1.125 kB / 309.6 MB, free: 57.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.795e-05/0.007981, allocations: 11.75 kB / 309.6 MB, free: 57.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.007989, allocations: 1.859 kB / 309.6 MB, free: 57.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.168e-05/0.008061, allocations: 149 kB / 309.7 MB, free: 56.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.478e-05/0.008095, allocations: 14.67 kB / 309.8 MB, free: 56.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.114e-05/0.008166, allocations: 44.69 kB / 309.8 MB, free: 56.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.008168, allocations: 5.375 kB / 309.8 MB, free: 56.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001277/0.008296, allocations: 76.86 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.008302, allocations: 10 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-06/0.008303, allocations: 0 / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-06/0.008305, allocations: 1.984 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.008358, allocations: 9.703 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.00836, allocations: 1.375 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.008404, allocations: 2.031 kB / 309.9 MB, free: 56.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.008408, allocations: 5.312 kB / 309.9 MB, free: 56.89 MB / 282.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.888e-05/0.008457, allocations: 274.2 kB / 310.2 MB, free: 56.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.008489, allocations: 14.06 kB / 310.2 MB, free: 56.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008648, allocations: 71.58 kB / 310.3 MB, free: 56.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008651, allocations: 9.344 kB / 310.3 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008655, allocations: 0 / 310.3 MB, free: 56.56 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008658, allocations: 4.547 kB / 310.3 MB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.00895, allocations: 352.5 kB / 310.6 MB, free: 56.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008951, allocations: 0 / 310.6 MB, free: 56.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.008999, allocations: 12.22 kB / 310.6 MB, free: 56.22 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009001, allocations: 1.375 kB / 310.6 MB, free: 56.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.009009, allocations: 4.641 kB / 310.6 MB, free: 56.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.009012, allocations: 5.312 kB / 310.6 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.009013, allocations: 0.75 kB / 310.6 MB, free: 56.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.009157, allocations: 225 kB / 310.9 MB, free: 56 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.009196, allocations: 16.12 kB / 310.9 MB, free: 56 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.009216, allocations: 4.75 kB / 310.9 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.009294, allocations: 6.688 kB / 310.9 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.009328, allocations: 3.438 kB / 310.9 MB, free: 55.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.009333, allocations: 2.125 kB / 310.9 MB, free: 55.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.009412, allocations: 172.3 kB / 311.1 MB, free: 55.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009413, allocations: 4 kB / 311.1 MB, free: 55.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.009723, allocations: 46.27 kB / 311.1 MB, free: 55.84 MB / 282.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.278e-05/0.009816, allocations: 91.47 kB / 311.2 MB, free: 55.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.01001, allocations: 86.34 kB / 311.3 MB, free: 55.71 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01001, allocations: 0 / 311.3 MB, free: 55.71 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.473e-05/0.01006, allocations: 29.3 kB / 311.3 MB, free: 55.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.01034, allocations: 9.438 kB / 311.3 MB, free: 55.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.01075, allocations: 261.8 kB / 311.6 MB, free: 55.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.06e-05/0.01081, allocations: 88.55 kB / 311.7 MB, free: 55.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.846e-05/0.01085, allocations: 6.422 kB / 311.7 MB, free: 55.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.01087, allocations: 17.41 kB / 311.7 MB, free: 55.39 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01087, allocations: 0 / 311.7 MB, free: 55.39 MB / 282.7 MB Notification: Performance of Templates: time 0.003855/0.01473, allocations: 0.8818 MB / 312.6 MB, free: 55.29 MB / 282.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: 4.265957080991939]