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.001033/0.001033, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002538, allocations: 440 kB / 10.41 MB, free: 284 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.001079/0.001079, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002536, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8413/0.8413, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1685/1.01, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.0133/0.0133, allocations: 1.428 MB / 222.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002968/0.01627, allocations: 0.9515 MB / 223.8 MB, free: 14.23 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.713e-06/1.713e-06, allocations: 0 / 225 MB, free: 12.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.401e-05, allocations: 6.25 kB / 225.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.002153/0.002177, allocations: 1.359 MB / 226.4 MB, free: 11.58 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 8.024e-05/0.002258, allocations: 43.81 kB / 226.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.002275, allocations: 0 / 226.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.002292, allocations: 0 / 226.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 1.574e-05/0.002307, allocations: 4 kB / 226.5 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.146e-05/0.002379, allocations: 7.984 kB / 226.5 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.002452, allocations: 31.91 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.002487, allocations: 3.938 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.002547, allocations: 19.97 kB / 226.5 MB, free: 11.47 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.579e-05/0.002602, allocations: 7.984 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.002624, allocations: 4 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.002633, allocations: 4 kB / 226.5 MB, free: 11.46 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.002654, allocations: 4 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.002686, allocations: 11.94 kB / 226.6 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.028e-05/0.002756, allocations: 19.91 kB / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.002769, allocations: 4 kB / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00277, allocations: 0 / 226.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.002783, allocations: 0 / 226.6 MB, free: 11.42 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.0004093/0.003192, allocations: 244.7 kB / 226.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.003223, allocations: 12.03 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.003258, allocations: 8.922 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.008348, allocations: 105.8 kB / 226.9 MB, free: 11 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.008423, allocations: 55.97 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.00844, allocations: 8.359 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.008554, allocations: 58.88 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.008562, allocations: 4.188 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.008569, allocations: 384 / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.008576, allocations: 4.125 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.008594, allocations: 7.984 kB / 227.1 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.324e-05/0.008678, allocations: 57.05 kB / 227.1 MB, free: 10.78 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.008742, allocations: 30.61 kB / 227.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.008761, allocations: 12.86 kB / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-06/0.008767, allocations: 0 / 227.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.008885, allocations: 83.27 kB / 227.3 MB, free: 10.63 MB / 234.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.008886, allocations: 0 / 227.3 MB, free: 10.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001265/0.009013, allocations: 57.67 kB / 227.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.009045, allocations: 59.41 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.009107, allocations: 102.7 kB / 227.5 MB, free: 10.38 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.009121, allocations: 29.83 kB / 227.5 MB, free: 10.35 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.009158, allocations: 88.09 kB / 227.6 MB, free: 10.26 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.009175, allocations: 23.83 kB / 227.6 MB, free: 10.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.009212, allocations: 29.64 kB / 227.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.009295, allocations: 318.8 kB / 227.9 MB, free: 9.879 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.009319, allocations: 8 kB / 228 MB, free: 9.871 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.009352, allocations: 30.55 kB / 228 MB, free: 9.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.009409, allocations: 38.5 kB / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.009411, allocations: 0 / 228 MB, free: 9.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.963e-05/0.00951, allocations: 69.61 kB / 228.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.009524, allocations: 4 kB / 228.1 MB, free: 9.707 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.009529, allocations: 4 kB / 228.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.009541, allocations: 0 / 228.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.009629, allocations: 15.98 kB / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.009632, allocations: 0 / 228.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.00967, allocations: 7.938 kB / 228.1 MB, free: 9.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.009678, allocations: 4 kB / 228.1 MB, free: 9.676 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 7.232e-05/0.00975, allocations: 124 kB / 228.2 MB, free: 9.547 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.009764, allocations: 12.05 kB / 228.3 MB, free: 9.535 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.009781, allocations: 8.125 kB / 228.3 MB, free: 9.531 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009784, allocations: 4 kB / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.009786, allocations: 0 / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009788, allocations: 0 / 228.3 MB, free: 9.527 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.917e-05/0.009857, allocations: 69.8 kB / 228.3 MB, free: 9.441 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.009859, allocations: 0 / 228.3 MB, free: 9.441 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.009885, allocations: 7.984 kB / 228.3 MB, free: 9.434 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.009892, allocations: 4 kB / 228.4 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009894, allocations: 0 / 228.4 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.009899, allocations: 0 / 228.4 MB, free: 9.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009901, allocations: 4 kB / 228.4 MB, free: 9.426 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009901, allocations: 0 / 228.4 MB, free: 9.426 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.422e-05/0.009996, allocations: 92.91 kB / 228.4 MB, free: 9.316 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.01001, allocations: 4 kB / 228.5 MB, free: 9.312 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.01004, allocations: 4 kB / 228.5 MB, free: 9.309 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.01008, allocations: 11.97 kB / 228.5 MB, free: 9.297 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01008, allocations: 4 kB / 228.5 MB, free: 9.293 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.185e-05/0.0101, allocations: 4.859 kB / 228.5 MB, free: 9.285 MB / 234.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0101, allocations: 0 / 228.5 MB, free: 9.285 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.01025, allocations: 8 kB / 228.5 MB, free: 9.277 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 8.791e-05/0.01034, allocations: 80.52 kB / 228.6 MB, free: 9.188 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.01044, allocations: 37.3 kB / 228.6 MB, free: 9.148 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.01044, allocations: 0 / 228.6 MB, free: 9.148 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.01049, allocations: 32.95 kB / 228.6 MB, free: 9.113 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.394e-05/0.01056, allocations: 11.94 kB / 228.6 MB, free: 9.102 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.01096, allocations: 136.6 kB / 228.8 MB, free: 8.941 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.01099, allocations: 51.36 kB / 228.8 MB, free: 8.871 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.01102, allocations: 12.17 kB / 228.8 MB, free: 8.859 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/0.01409, allocations: 55.38 kB / 228.9 MB, free: 8.805 MB / 234.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01409, allocations: 0 / 228.9 MB, free: 8.805 MB / 234.7 MB Notification: Performance of Templates: time 0.002314/0.0164, allocations: 0.7155 MB / 229.6 MB, free: 8.094 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.393571661785245]