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.0008147/0.0008147, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007796/0.0007796, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8226/0.8226, allocations: 158.6 MB / 185 MB, free: 3.004 MB / 170.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.005783/0.005783, allocations: 1.42 MB / 238.7 MB, free: 13.93 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.024e-06/2.024e-06, allocations: 0 / 353.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.287e-05, allocations: 2.281 kB / 353.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.001301/0.001324, allocations: 1.279 MB / 355 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.001468, allocations: 32.3 kB / 355 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.001494, allocations: 0 / 355 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.001523, allocations: 7.938 kB / 355 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.001551, allocations: 0 / 355 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.001695, allocations: 11.97 kB / 355 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.001764, allocations: 27.91 kB / 355.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.001807, allocations: 4 kB / 355.1 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.001856, allocations: 19.97 kB / 355.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.001916, allocations: 7.984 kB / 355.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.00194, allocations: 4 kB / 355.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.001948, allocations: 0 / 355.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.001969, allocations: 15.97 kB / 355.1 MB, free: 14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.002007, allocations: 8 kB / 355.1 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.804e-05/0.002075, allocations: 23.89 kB / 355.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002077, allocations: 0 / 355.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.002078, allocations: 0 / 355.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002081, allocations: 0 / 355.1 MB, free: 13.97 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.0003799/0.002461, allocations: 274.4 kB / 355.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.002497, allocations: 11.98 kB / 355.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.00253, allocations: 4.938 kB / 355.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.234e-05/0.002573, allocations: 113.7 kB / 355.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.002631, allocations: 55.97 kB / 355.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.002641, allocations: 8.375 kB / 355.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.261e-05/0.002734, allocations: 46.22 kB / 355.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.002741, allocations: 192 / 355.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-06/0.00275, allocations: 4.375 kB / 355.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.002755, allocations: 8.125 kB / 355.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.002798, allocations: 11.98 kB / 355.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.961e-05/0.002887, allocations: 117.2 kB / 355.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.002957, allocations: 42.55 kB / 355.8 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.002983, allocations: 16.94 kB / 355.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.002991, allocations: 0 / 355.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.003107, allocations: 79.36 kB / 355.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.003107, allocations: 0 / 355.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001814/0.003289, allocations: 97.59 kB / 356 MB, free: 12.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.003314, allocations: 55.34 kB / 356.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.003356, allocations: 113.7 kB / 356.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.003363, allocations: 25.7 kB / 356.2 MB, free: 12.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.003384, allocations: 92.09 kB / 356.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.003394, allocations: 11.89 kB / 356.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.003423, allocations: 33.64 kB / 356.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.802e-05/0.003451, allocations: 314.8 kB / 356.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.003483, allocations: 19.98 kB / 356.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.003519, allocations: 46.5 kB / 356.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.242e-05/0.003581, allocations: 58.62 kB / 356.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.003583, allocations: 0 / 356.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.571e-05/0.003669, allocations: 85.61 kB / 356.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003681, allocations: 4 kB / 356.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.003686, allocations: 4 kB / 356.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.003697, allocations: 3.984 kB / 356.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.00375, allocations: 11.98 kB / 356.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.003759, allocations: 3.938 kB / 356.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.003794, allocations: 20 kB / 356.9 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.0038, allocations: 4 kB / 356.9 MB, free: 12 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 4.078e-05/0.003841, allocations: 121.7 kB / 357 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.003846, allocations: 0 / 357 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.00386, allocations: 4.125 kB / 357 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.003862, allocations: 4 kB / 357 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.003867, allocations: 3.938 kB / 357 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00387, allocations: 0 / 357 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.26e-05/0.003912, allocations: 109.3 kB / 357.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003913, allocations: 4 kB / 357.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-06/0.003922, allocations: 4 kB / 357.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.003923, allocations: 0 / 357.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.003929, allocations: 3.984 kB / 357.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.00393, allocations: 4 kB / 357.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.003931, allocations: 0 / 357.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.411e-05/0.004015, allocations: 112.9 kB / 357.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-06/0.004019, allocations: 0 / 357.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.00403, allocations: 7.984 kB / 357.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.004051, allocations: 8 kB / 357.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.004089, allocations: 11.98 kB / 357.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.004094, allocations: 3.938 kB / 357.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.344e-05/0.004108, allocations: 83.27 kB / 357.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004108, allocations: 0 / 357.4 MB, free: 11.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001226/0.004231, allocations: 12 kB / 357.4 MB, free: 11.46 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 5.079e-05/0.004281, allocations: 91.38 kB / 357.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.004382, allocations: 51.91 kB / 357.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.004383, allocations: 224 / 357.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.00442, allocations: 36.53 kB / 357.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.464e-05/0.004514, allocations: 0 / 357.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.004733, allocations: 162.4 kB / 357.7 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.586e-05/0.004759, allocations: 67.28 kB / 357.8 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.004783, allocations: 8.5 kB / 357.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004783, allocations: 4 kB / 357.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of Templates: time 0.001313/0.006097, allocations: 0.7165 MB / 358.5 MB, free: 10.27 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.277324934490025] Failed to read output from testmodel.py, exit status != 0: 0.009866122156381607 0.016536528 0.012827385 Calling exit ...