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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000836/0.000836, allocations: 170.1 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006825/0.006825, allocations: 1.924 MB / 18.79 MB, free: 2.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 225.4 MB, free: 5.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000749/0.0007492, allocations: 93.8 kB / 274.3 MB, free: 5.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12 kB / 333.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1849, allocations: 48.08 MB / 381.1 MB, free: 44.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07863/0.2636, allocations: 77.77 MB / 458.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.2638, allocations: 71.97 kB / 459 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01892/0.2827, allocations: 7.429 MB / 466.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2828, allocations: 0 / 466.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.2828, allocations: 8 kB / 466.4 MB, free: 8.355 MB / 346.7 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.001136/0.2839, allocations: 0.6622 MB / 467.1 MB, free: 7.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.284, allocations: 8.031 kB / 467.1 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.2841, allocations: 40.47 kB / 467.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.2845, allocations: 315.5 kB / 467.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2845, allocations: 21.03 kB / 467.4 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.2846, allocations: 36.38 kB / 467.5 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.2852, allocations: 322.5 kB / 467.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2852, allocations: 192 / 467.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.2852, allocations: 19.92 kB / 467.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2853, allocations: 8 kB / 467.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.2858, allocations: 270.5 kB / 468.1 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2876, allocations: 1.122 MB / 469.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006706/0.2883, allocations: 286.8 kB / 469.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.2886, allocations: 127.2 kB / 469.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2886, allocations: 4 kB / 469.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/0.289, allocations: 181.6 kB / 469.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.289, allocations: 0 / 469.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.002657/0.2916, allocations: 0.7056 MB / 470.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2917, allocations: 55.41 kB / 470.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.292, allocations: 324.6 kB / 470.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2921, allocations: 37.7 kB / 470.9 MB, free: 3.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2922, allocations: 200.2 kB / 471.1 MB, free: 3.426 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2923, allocations: 82.81 kB / 471.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.2923, allocations: 4 kB / 471.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2924, allocations: 342.8 kB / 471.5 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2927, allocations: 99.69 kB / 471.6 MB, free: 2.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2929, allocations: 162.4 kB / 471.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.2934, allocations: 287.6 kB / 472.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2934, allocations: 0 / 472.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007291/0.2942, allocations: 415.6 kB / 472.5 MB, free: 1.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.2943, allocations: 168 kB / 472.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2943, allocations: 0 / 472.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.2959, allocations: 232.6 kB / 472.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.2961, allocations: 51.91 kB / 472.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006011/0.2967, allocations: 0.689 MB / 473.6 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.297, allocations: 47.52 kB / 473.6 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2971, allocations: 19.98 kB / 473.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.2971, allocations: 3.938 kB / 473.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009178/0.298, allocations: 406.4 kB / 474.1 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.298, allocations: 4 kB / 474.1 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.2984, allocations: 100.8 kB / 474.2 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.2986, allocations: 51.91 kB / 474.2 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.3008, allocations: 1.923 MB / 476.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.3011, allocations: 39.67 kB / 476.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3011, allocations: 12 kB / 476.2 MB, free: 14.05 MB / 362.7 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 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.3013, allocations: 241.1 kB / 476.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.3014, allocations: 31.62 kB / 476.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/0.3022, allocations: 381.4 kB / 476.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3022, allocations: 0 / 476.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.3022, allocations: 4 kB / 476.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3022, allocations: 3.984 kB / 476.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.3026, allocations: 393 kB / 477.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3027, allocations: 0 / 477.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.3028, allocations: 35.91 kB / 477.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.3039, allocations: 204.7 kB / 477.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.304, allocations: 8 kB / 477.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005379/0.3045, allocations: 0.6929 MB / 478.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3045, allocations: 3.938 kB / 478.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.3055, allocations: 0.4974 MB / 478.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3057, allocations: 144.6 kB / 478.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.3058, allocations: 8 kB / 478.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.306, allocations: 15.98 kB / 478.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.306, allocations: 23.95 kB / 478.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3061, allocations: 12 kB / 478.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.3063, allocations: 231.1 kB / 479.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.865e-06/0.3063, allocations: 0 / 479.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005492/0.3069, allocations: 183.6 kB / 479.3 MB, free: 10.84 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.307, allocations: 119.2 kB / 479.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3085, allocations: 0.6928 MB / 480.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3085, allocations: 0 / 480.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3088, allocations: 155.8 kB / 480.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3092, allocations: 49.64 kB / 480.3 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3106, allocations: 0.9855 MB / 481.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3109, allocations: 0.7917 MB / 482.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.3111, allocations: 26.97 kB / 482.1 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.3111, allocations: 23.44 kB / 482.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3111, allocations: 0 / 482.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of Templates: time 0.008269/0.3194, allocations: 4.687 MB / 486.8 MB, free: 3.223 MB / 362.7 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 -lv LOG_STATS > MEV_MEV.Test.TestStandardPatient.pipe 2>&1)