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.00193/0.00193, allocations: 88.72 kB / 19.44 MB, free: 356 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.002647/0.002647, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.333/1.333, allocations: 158.6 MB / 184.6 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.009428/0.009428, allocations: 1.443 MB / 238.3 MB, free: 13.72 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 2.185e-06/2.185e-06, allocations: 0 / 303.9 MB, free: 61.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.711e-05, allocations: 4.25 kB / 303.9 MB, free: 61.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.002208/0.002235, allocations: 1.286 MB / 305.2 MB, free: 60.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.002396, allocations: 27.86 kB / 305.2 MB, free: 60.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.002427, allocations: 2.562 kB / 305.2 MB, free: 60.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.002459, allocations: 1.594 kB / 305.2 MB, free: 60.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.002492, allocations: 9 kB / 305.2 MB, free: 60.4 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.002652, allocations: 10.64 kB / 305.2 MB, free: 60.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.002732, allocations: 23.42 kB / 305.2 MB, free: 60.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.002767, allocations: 3.109 kB / 305.2 MB, free: 60.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.002831, allocations: 27.92 kB / 305.3 MB, free: 60.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.00289, allocations: 14.47 kB / 305.3 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.002909, allocations: 2.188 kB / 305.3 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.00292, allocations: 2.312 kB / 305.3 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.002942, allocations: 8.406 kB / 305.3 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.002988, allocations: 4.266 kB / 305.3 MB, free: 60.37 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.003065, allocations: 23.14 kB / 305.3 MB, free: 60.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003066, allocations: 1.156 kB / 305.3 MB, free: 60.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003067, allocations: 0 / 305.3 MB, free: 60.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.003071, allocations: 0 / 305.3 MB, free: 60.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005265/0.003598, allocations: 276.2 kB / 305.6 MB, free: 60.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.00364, allocations: 14.27 kB / 305.6 MB, free: 60.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.003701, allocations: 6.297 kB / 305.6 MB, free: 60.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.00377, allocations: 104.4 kB / 305.7 MB, free: 59.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.003852, allocations: 57.02 kB / 305.8 MB, free: 59.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.003872, allocations: 8.094 kB / 305.8 MB, free: 59.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.004026, allocations: 52.3 kB / 305.8 MB, free: 59.86 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004035, allocations: 192 / 305.8 MB, free: 59.86 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.004046, allocations: 10.02 kB / 305.8 MB, free: 59.85 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004051, allocations: 5.25 kB / 305.8 MB, free: 59.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.004131, allocations: 14.94 kB / 305.8 MB, free: 59.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.00426, allocations: 113.6 kB / 306 MB, free: 59.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.004376, allocations: 41.06 kB / 306 MB, free: 59.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.004423, allocations: 14.83 kB / 306 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.004439, allocations: 5.156 kB / 306 MB, free: 59.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.004664, allocations: 76.09 kB / 306.1 MB, free: 59.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.004665, allocations: 4 kB / 306.1 MB, free: 59.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.000311/0.004976, allocations: 100.6 kB / 306.2 MB, free: 59.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.005008, allocations: 61.91 kB / 306.3 MB, free: 59.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.005074, allocations: 102.6 kB / 306.4 MB, free: 59.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.005087, allocations: 27.25 kB / 306.4 MB, free: 59.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.005121, allocations: 91.08 kB / 306.5 MB, free: 59.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.005139, allocations: 15.58 kB / 306.5 MB, free: 59.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.005182, allocations: 22.36 kB / 306.5 MB, free: 59.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.947e-05/0.005231, allocations: 317.1 kB / 306.8 MB, free: 58.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.005292, allocations: 19.12 kB / 306.8 MB, free: 58.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.005364, allocations: 41.73 kB / 306.9 MB, free: 58.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.005495, allocations: 54.45 kB / 306.9 MB, free: 58.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005497, allocations: 1.062 kB / 306.9 MB, free: 58.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.00567, allocations: 95.27 kB / 307 MB, free: 58.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.005689, allocations: 4.5 kB / 307 MB, free: 58.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.005697, allocations: 5.906 kB / 307 MB, free: 58.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.005719, allocations: 1.219 kB / 307 MB, free: 58.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.005801, allocations: 8.609 kB / 307 MB, free: 58.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.005811, allocations: 8.484 kB / 307.1 MB, free: 58.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.005885, allocations: 15.16 kB / 307.1 MB, free: 58.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.005895, allocations: 3.281 kB / 307.1 MB, free: 58.78 MB / 282.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 5.884e-05/0.005954, allocations: 118.5 kB / 307.2 MB, free: 58.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.005971, allocations: 4.688 kB / 307.2 MB, free: 58.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.005995, allocations: 10.05 kB / 307.2 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.005998, allocations: 5.25 kB / 307.2 MB, free: 58.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.006004, allocations: 3.938 kB / 307.2 MB, free: 58.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.006008, allocations: 0.5625 kB / 307.2 MB, free: 58.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.787e-05/0.006076, allocations: 105.6 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.006076, allocations: 3.938 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.006106, allocations: 7.062 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006108, allocations: 0 / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.006119, allocations: 1.906 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006121, allocations: 0.8438 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006122, allocations: 0.9375 kB / 307.3 MB, free: 58.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.00631, allocations: 125.9 kB / 307.5 MB, free: 58.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.006319, allocations: 6.625 kB / 307.5 MB, free: 58.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.006335, allocations: 2.297 kB / 307.5 MB, free: 58.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.006389, allocations: 6.609 kB / 307.5 MB, free: 58.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.006446, allocations: 10.7 kB / 307.5 MB, free: 58.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.006458, allocations: 6.906 kB / 307.5 MB, free: 58.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.00648, allocations: 78.53 kB / 307.6 MB, free: 58.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00648, allocations: 0 / 307.6 MB, free: 58.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.006687, allocations: 12.59 kB / 307.6 MB, free: 58.34 MB / 282.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 9.085e-05/0.006778, allocations: 95.45 kB / 307.7 MB, free: 58.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.006962, allocations: 50.48 kB / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006964, allocations: 0 / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.007035, allocations: 21.8 kB / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.007188, allocations: 4.656 kB / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.007564, allocations: 125.7 kB / 307.9 MB, free: 58.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.007612, allocations: 73.67 kB / 307.9 MB, free: 58.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.474e-05/0.007646, allocations: 3.469 kB / 307.9 MB, free: 58.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.007686, allocations: 12.59 kB / 308 MB, free: 58.02 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007686, allocations: 0 / 308 MB, free: 58.02 MB / 282.7 MB Notification: Performance of Templates: time 0.00337/0.01106, allocations: 0.6588 MB / 308.6 MB, free: 57.95 MB / 282.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=480 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.323463825043291]