Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController1.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.00132/0.00132, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001449/0.001449, allocations: 217.6 kB / 22.25 MB, free: 5.129 MB / 14.72 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.41/1.41, allocations: 207.6 MB / 233 MB, free: 9.98 MB / 190.1 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.008947/0.008947, allocations: 1.966 MB / 287.2 MB, free: 3.844 MB / 222.1 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.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 77.27 kB / 402.3 MB, free: 50.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07456/0.0768, allocations: 49.71 MB / 452 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002161/0.07896, allocations: 1.53 MB / 453.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.07994, allocations: 0.758 MB / 454.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.08, allocations: 11.94 kB / 454.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.08011, allocations: 43.88 kB / 454.3 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.0802, allocations: 71.7 kB / 454.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.08071, allocations: 159.6 kB / 454.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.08089, allocations: 163.6 kB / 454.7 MB, free: 3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.498e-05/0.08097, allocations: 7.938 kB / 454.7 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.08108, allocations: 87.73 kB / 454.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.08124, allocations: 111.7 kB / 454.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.08127, allocations: 12 kB / 454.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.08145, allocations: 159.8 kB / 455.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.0815, allocations: 35.84 kB / 455.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.08156, allocations: 59.67 kB / 455.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.08182, allocations: 227.2 kB / 455.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.08182, allocations: 0 / 455.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08183, allocations: 0 / 455.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.08183, allocations: 4 kB / 455.4 MB, free: 2.309 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007039/0.08254, allocations: 464.8 kB / 455.9 MB, free: 1.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.08257, allocations: 15.98 kB / 455.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.08262, allocations: 16.84 kB / 455.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.08284, allocations: 155.7 kB / 456 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.0829, allocations: 63.97 kB / 456.1 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.08293, allocations: 8.375 kB / 456.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.08316, allocations: 133.7 kB / 456.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.08317, allocations: 0 / 456.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.08319, allocations: 8 kB / 456.2 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.08319, allocations: 7.922 kB / 456.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.08335, allocations: 87.89 kB / 456.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.0838, allocations: 347.6 kB / 456.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.08401, allocations: 114.6 kB / 456.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.08412, allocations: 80.83 kB / 456.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.08413, allocations: 0 / 456.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.08439, allocations: 246.6 kB / 457.1 MB, free: 444 kB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.0844, allocations: 0 / 457.1 MB, free: 444 kB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0006319/0.08503, allocations: 456.9 kB / 457.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.08513, allocations: 114.8 kB / 457.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.08532, allocations: 184.2 kB / 457.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.08535, allocations: 29.7 kB / 457.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.08543, allocations: 112.5 kB / 458 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.0855, allocations: 59.52 kB / 458 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.08559, allocations: 45.7 kB / 458.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.08576, allocations: 334.8 kB / 458.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.08592, allocations: 88.14 kB / 458.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.08608, allocations: 84.42 kB / 458.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.08648, allocations: 293.7 kB / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.08648, allocations: 0 / 458.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005666/0.08704, allocations: 381.1 kB / 459.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.08712, allocations: 71.39 kB / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.08712, allocations: 0 / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.08714, allocations: 0 / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.08725, allocations: 19.92 kB / 459.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.08726, allocations: 4 kB / 459.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.08738, allocations: 19.94 kB / 459.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.0874, allocations: 8 kB / 459.4 MB, free: 14.04 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (dutyCycle.nextEventScaled,dutyCycle.nextEvent,$PRE.dutyCycle.nextEvent,dutyCycle.last,dutyCycle.b,dutyCycle.a,RR.nextEventScaled,RR.nextEvent,$PRE.RR.nextEvent,RR.last,RR.b,RR.a,patientController.active,$PRE.patientController.active,patientController.t_off,$PRE.patientController.t_off,patientController.t_on,$PRE.patientController.t_on,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002073/0.08761, allocations: 214.9 kB / 459.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.08765, allocations: 27.89 kB / 459.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.08769, allocations: 17.95 kB / 459.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.0877, allocations: 4 kB / 459.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.0877, allocations: 0 / 459.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.0877, allocations: 0 / 459.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.08796, allocations: 228.4 kB / 459.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.08796, allocations: 0 / 459.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.08802, allocations: 15.94 kB / 459.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.08802, allocations: 8 kB / 459.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.08805, allocations: 11.98 kB / 459.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.08805, allocations: 0 / 459.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.08805, allocations: 3.938 kB / 459.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.08871, allocations: 456 kB / 460.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.08874, allocations: 23.83 kB / 460.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.08878, allocations: 8 kB / 460.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.08889, allocations: 19.92 kB / 460.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.08896, allocations: 19.97 kB / 460.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.08898, allocations: 8 kB / 460.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.0891, allocations: 139.2 kB / 460.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0891, allocations: 0 / 460.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.0894, allocations: 79.89 kB / 460.6 MB, free: 12.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,patientController.t_on,patientController.t_off,patientController.active,RR.a,RR.b,RR.last,RR.nextEvent,RR.nextEventScaled,dutyCycle.a,dutyCycle.b,dutyCycle.last,dutyCycle.nextEvent,dutyCycle.nextEventScaled) * Number of discrete states: 14 (dutyCycle.nextEvent,dutyCycle.last,dutyCycle.nextEventScaled,dutyCycle.b,dutyCycle.a,$whenCondition4,RR.nextEvent,RR.last,RR.nextEventScaled,RR.b,RR.a,$whenCondition5,patientController.active,patientController.t_on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002471/0.08965, allocations: 158.8 kB / 460.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.09018, allocations: 334.9 kB / 461.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.09018, allocations: 0 / 461.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.09047, allocations: 234.6 kB / 461.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.0907, allocations: 12 kB / 461.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.09145, allocations: 350.9 kB / 461.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.09188, allocations: 0.7278 MB / 462.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.09193, allocations: 4.5 kB / 462.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.09197, allocations: 15.44 kB / 462.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 7.31e-07/0.09198, allocations: 0 / 462.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.007235/0.09921, allocations: 2.731 MB / 465.2 MB, free: 8.023 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController1.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController1.pipe ; mkfifo MEV_MEV.Test.TestPatientController1.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController1.pipe >> ../files/MEV_MEV.Test.TestPatientController1.sim & ./MEV_MEV.Test.TestPatientController1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.314178126165643] Failed to read output from testmodel.py, exit status != 0: 0.10727994400076568 0.12295298600000001 0.037990166000000006 Calling exit ...