Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestStandardPatient.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.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") translateModel(MEV.Test.TestStandardPatient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestStandardPatient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 112 kB / 16.37 MB, free: 5.539 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.0011/0.0011, allocations: 190.8 kB / 17.3 MB, free: 5.18 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009782/0.009781, allocations: 1.938 MB / 272.5 MB, free: 10.09 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.002249/0.00225, allocations: 67.89 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2679, allocations: 47.12 MB / 378.4 MB, free: 53.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestStandardPatient): time 0.005671/0.2736, allocations: 3.436 MB / 381.8 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2758, allocations: 0.9343 MB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.2762, allocations: 4.156 kB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2764, allocations: 60.31 kB / 382.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.2768, allocations: 150.3 kB / 383 MB, free: 51.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.2774, allocations: 158 kB / 383.1 MB, free: 51.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006739/0.2781, allocations: 0.5625 MB / 383.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.2784, allocations: 148 kB / 383.8 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.2786, allocations: 192.1 kB / 384 MB, free: 50.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.2789, allocations: 225.3 kB / 384.3 MB, free: 50.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.898e-05/0.279, allocations: 47.19 kB / 384.3 MB, free: 50.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.2792, allocations: 69.03 kB / 384.4 MB, free: 50.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.952e-05/0.2793, allocations: 94.47 kB / 384.5 MB, free: 50.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.2795, allocations: 245.2 kB / 384.7 MB, free: 50.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.2802, allocations: 0.5051 MB / 385.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2802, allocations: 0 / 385.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2802, allocations: 0 / 385.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2802, allocations: 0 / 385.2 MB, free: 50.34 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001268/0.2815, allocations: 0.7384 MB / 385.9 MB, free: 49.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2815, allocations: 8.938 kB / 386 MB, free: 49.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2816, allocations: 46.06 kB / 386 MB, free: 49.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.282, allocations: 313.4 kB / 386.3 MB, free: 49.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.282, allocations: 30.81 kB / 386.3 MB, free: 49.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.2821, allocations: 33.5 kB / 386.4 MB, free: 49.42 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.2827, allocations: 317.8 kB / 386.7 MB, free: 49.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2828, allocations: 5.219 kB / 386.7 MB, free: 49.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.2828, allocations: 10.81 kB / 386.7 MB, free: 49.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2828, allocations: 7.938 kB / 386.7 MB, free: 49.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.2834, allocations: 258.2 kB / 387 MB, free: 49.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2853, allocations: 1.13 MB / 388.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.2861, allocations: 277.7 kB / 388.4 MB, free: 48.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.2863, allocations: 122.2 kB / 388.5 MB, free: 48.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.2864, allocations: 2.375 kB / 388.5 MB, free: 48.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004768/0.2869, allocations: 166.7 kB / 388.6 MB, free: 48.24 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 3.066e-06/0.2869, allocations: 5.312 kB / 388.6 MB, free: 48.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002944/0.2898, allocations: 0.6985 MB / 389.3 MB, free: 47.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2899, allocations: 55.3 kB / 389.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004143/0.2903, allocations: 349.7 kB / 389.7 MB, free: 47.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2903, allocations: 35.73 kB / 389.8 MB, free: 47.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2905, allocations: 197 kB / 390 MB, free: 47.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.2906, allocations: 88.23 kB / 390.1 MB, free: 47.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2907, allocations: 65.89 kB / 390.1 MB, free: 47.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.2907, allocations: 347.7 kB / 390.5 MB, free: 47.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.291, allocations: 103.2 kB / 390.6 MB, free: 47.01 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.2912, allocations: 162 kB / 390.7 MB, free: 46.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.2917, allocations: 293.6 kB / 391 MB, free: 46.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2917, allocations: 0 / 391 MB, free: 46.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007426/0.2925, allocations: 419.8 kB / 391.4 MB, free: 46.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.2925, allocations: 34.91 kB / 391.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2925, allocations: 2.5 kB / 391.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.2942, allocations: 238.5 kB / 391.7 MB, free: 46.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.2945, allocations: 44.03 kB / 391.7 MB, free: 46.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005791/0.295, allocations: 0.6904 MB / 392.4 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2954, allocations: 40.64 kB / 392.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.2955, allocations: 13.47 kB / 392.5 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003356/0.2958, allocations: 209 kB / 392.7 MB, free: 45.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002521/0.2961, allocations: 147.9 kB / 392.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004489/0.2965, allocations: 279.9 kB / 393.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.2965, allocations: 1.406 kB / 393.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009594/0.2975, allocations: 435.6 kB / 393.5 MB, free: 45.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2976, allocations: 33.25 kB / 393.5 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2976, allocations: 7.375 kB / 393.6 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.298, allocations: 107.7 kB / 393.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2982, allocations: 46.27 kB / 393.7 MB, free: 45.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.3004, allocations: 2.093 MB / 395.8 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.3007, allocations: 31.66 kB / 395.8 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.3008, allocations: 13.75 kB / 395.8 MB, free: 43.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.3009, allocations: 193.9 kB / 396 MB, free: 43.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.301, allocations: 38.88 kB / 396.1 MB, free: 43.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.3021, allocations: 398.3 kB / 396.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3021, allocations: 2.75 kB / 396.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3021, allocations: 0 / 396.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3021, allocations: 4.812 kB / 396.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3026, allocations: 392.4 kB / 396.8 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3026, allocations: 0 / 396.8 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.3028, allocations: 31.69 kB / 396.9 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.3039, allocations: 185.8 kB / 397.1 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.3039, allocations: 12.06 kB / 397.1 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000481/0.3044, allocations: 0.6913 MB / 397.8 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3044, allocations: 64 / 397.8 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.3056, allocations: 0.5173 MB / 398.3 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3058, allocations: 158.2 kB / 398.4 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.3059, allocations: 7.25 kB / 398.4 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.3061, allocations: 13.64 kB / 398.5 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.3062, allocations: 23.14 kB / 398.5 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3062, allocations: 6.328 kB / 398.5 MB, free: 41.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.3065, allocations: 249.8 kB / 398.7 MB, free: 41.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3065, allocations: 1.406 kB / 398.7 MB, free: 41.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.3072, allocations: 181.7 kB / 398.9 MB, free: 41.37 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (standardPatient.compliance.p,standardPatient.compliance.V,standardPatient.compliance.Vb) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.3074, allocations: 113.5 kB / 399 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.3089, allocations: 0.6821 MB / 399.7 MB, free: 40.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3089, allocations: 0 / 399.7 MB, free: 40.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.3093, allocations: 143.9 kB / 399.8 MB, free: 40.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3097, allocations: 48.81 kB / 399.9 MB, free: 40.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3111, allocations: 0.8347 MB / 400.7 MB, free: 40.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3114, allocations: 0.7982 MB / 401.5 MB, free: 39.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3115, allocations: 26.36 kB / 401.5 MB, free: 39.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.3116, allocations: 20.25 kB / 401.6 MB, free: 39.6 MB / 318.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3116, allocations: 4 kB / 401.6 MB, free: 39.59 MB / 318.1 MB Notification: Performance of Templates: time 0.01025/0.3219, allocations: 5.328 MB / 406.9 MB, free: 37.62 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestStandardPatient.makefile (rm -f MEV_MEV.Test.TestStandardPatient.pipe ; mkfifo MEV_MEV.Test.TestStandardPatient.pipe ; head -c 1048576 < MEV_MEV.Test.TestStandardPatient.pipe >> ../files/MEV_MEV.Test.TestStandardPatient.sim & ./MEV_MEV.Test.TestStandardPatient -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)