Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Controls.PatientController.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.0006498/0.0006498, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008034/0.001453, allocations: 435.8 kB / 10.33 MB, free: 368 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.000656/0.000656, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008116/0.001468, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.7396/0.7396, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1196/0.8592, allocations: 49.5 MB / 220.5 MB, free: 1.441 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.01265/0.01265, allocations: 1.428 MB / 222.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.01447, allocations: 0.9405 MB / 223.6 MB, free: 14.33 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.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 3.938 kB / 224.9 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.222e-06/7.424e-06, allocations: 2.312 kB / 224.9 MB, free: 13.07 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.00123/0.001237, allocations: 1.363 MB / 226.3 MB, free: 11.7 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 4.908e-05/0.001286, allocations: 31.89 kB / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.001299, allocations: 0 / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.001313, allocations: 0 / 226.3 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 1.229e-05/0.001326, allocations: 3.938 kB / 226.3 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.514e-05/0.001381, allocations: 7.984 kB / 226.3 MB, free: 11.66 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.001441, allocations: 27.97 kB / 226.3 MB, free: 11.63 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.223e-05/0.001474, allocations: 15.92 kB / 226.3 MB, free: 11.61 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.9e-05/0.001523, allocations: 15.98 kB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.328e-05/0.001566, allocations: 11.98 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.001582, allocations: 4 kB / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.001589, allocations: 0 / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.001603, allocations: 7.984 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.001631, allocations: 7.938 kB / 226.4 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 5.686e-05/0.001688, allocations: 19.91 kB / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.001698, allocations: 0 / 226.4 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0017, allocations: 4 kB / 226.4 MB, free: 11.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.001709, allocations: 0 / 226.4 MB, free: 11.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003266/0.002036, allocations: 248.7 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.269e-05/0.002059, allocations: 8.031 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.002082, allocations: 8.938 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.808e-05/0.00213, allocations: 105.8 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.00218, allocations: 59.95 kB / 226.8 MB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.002188, allocations: 4.312 kB / 226.8 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.236e-05/0.002261, allocations: 54.94 kB / 226.9 MB, free: 10.99 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-06/0.002266, allocations: 192 / 226.9 MB, free: 10.99 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.002273, allocations: 4.375 kB / 226.9 MB, free: 10.99 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.002278, allocations: 8.125 kB / 226.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.002294, allocations: 8 kB / 226.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.944e-05/0.002354, allocations: 61.03 kB / 227 MB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.002404, allocations: 26.56 kB / 227 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.002418, allocations: 12.8 kB / 227 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.002423, allocations: 0 / 227 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/0.002515, allocations: 75.41 kB / 227.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.002516, allocations: 0 / 227.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001088/0.002625, allocations: 61.66 kB / 227.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.002652, allocations: 55.34 kB / 227.2 MB, free: 10.63 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.002701, allocations: 106.7 kB / 227.3 MB, free: 10.51 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.002713, allocations: 29.7 kB / 227.3 MB, free: 10.48 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.00274, allocations: 88.09 kB / 227.4 MB, free: 10.39 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.002752, allocations: 19.83 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.002778, allocations: 25.69 kB / 227.5 MB, free: 10.34 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.002841, allocations: 322.8 kB / 227.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.002852, allocations: 4 kB / 227.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.002875, allocations: 34.55 kB / 227.8 MB, free: 9.965 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.002911, allocations: 42.62 kB / 227.9 MB, free: 9.914 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.002913, allocations: 0 / 227.9 MB, free: 9.914 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 5.469e-05/0.002967, allocations: 65.59 kB / 227.9 MB, free: 9.844 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.002976, allocations: 4 kB / 227.9 MB, free: 9.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.00298, allocations: 0 / 227.9 MB, free: 9.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.002986, allocations: 4 kB / 227.9 MB, free: 9.836 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.003043, allocations: 15.98 kB / 227.9 MB, free: 9.82 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.003045, allocations: 0 / 227.9 MB, free: 9.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.003068, allocations: 11.94 kB / 227.9 MB, free: 9.809 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.003072, allocations: 0 / 227.9 MB, free: 9.809 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,active,$PRE.active,t_off,$PRE.t_off,t_on,$PRE.t_on,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.33e-05/0.003116, allocations: 121.8 kB / 228.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.003123, allocations: 7.984 kB / 228.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.365e-05/0.003136, allocations: 8.125 kB / 228.1 MB, free: 9.668 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.003138, allocations: 4 kB / 228.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.00314, allocations: 0 / 228.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.003142, allocations: 0 / 228.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.213e-05/0.003195, allocations: 77.78 kB / 228.2 MB, free: 9.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.003195, allocations: 0 / 228.2 MB, free: 9.57 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.003205, allocations: 7.984 kB / 228.2 MB, free: 9.562 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.003209, allocations: 3.984 kB / 228.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.00321, allocations: 4 kB / 228.2 MB, free: 9.555 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.003215, allocations: 4 kB / 228.2 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.003215, allocations: 0 / 228.2 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.003216, allocations: 0 / 228.2 MB, free: 9.551 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.387e-05/0.00327, allocations: 84.92 kB / 228.3 MB, free: 9.449 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.003279, allocations: 4 kB / 228.3 MB, free: 9.445 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.775e-05/0.003296, allocations: 7.984 kB / 228.3 MB, free: 9.438 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.003324, allocations: 7.984 kB / 228.3 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.003329, allocations: 4 kB / 228.3 MB, free: 9.426 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.093e-06/0.003336, allocations: 8.859 kB / 228.3 MB, free: 9.414 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003336, allocations: 4.094 kB / 228.3 MB, free: 9.41 MB / 234.7 MB Notification: Performance of remove unused functions: time 9.08e-05/0.003427, allocations: 8 kB / 228.3 MB, free: 9.402 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,t_on,t_off,active) * Number of discrete states: 2 (active,t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.334e-05/0.00348, allocations: 76.41 kB / 228.4 MB, free: 9.316 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.003542, allocations: 41.23 kB / 228.4 MB, free: 9.273 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.003546, allocations: 4 kB / 228.4 MB, free: 9.27 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.373e-05/0.00357, allocations: 16.86 kB / 228.4 MB, free: 9.25 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.338e-05/0.003623, allocations: 7.938 kB / 228.5 MB, free: 9.242 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.003938, allocations: 140.8 kB / 228.6 MB, free: 9.078 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.348e-05/0.003962, allocations: 55.36 kB / 228.6 MB, free: 9.004 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.814e-05/0.00398, allocations: 7.984 kB / 228.7 MB, free: 8.996 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.004011, allocations: 55.38 kB / 228.7 MB, free: 8.941 MB / 234.7 MB Notification: Performance of SimCode: time 3.81e-07/0.004012, allocations: 0 / 228.7 MB, free: 8.941 MB / 234.7 MB Notification: Performance of Templates: time 0.001648/0.00566, allocations: 0.7083 MB / 229.4 MB, free: 8.234 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Controls.PatientController.makefile [Timeout 660] (rm -f MEV_MEV.Controls.PatientController.pipe ; mkfifo MEV_MEV.Controls.PatientController.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController.pipe >> ../files/MEV_MEV.Controls.PatientController.sim & ./MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=240 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.213966560550034]