Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.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.0008529/0.0008529, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002021, 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.000676/0.000676, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009015/0.001577, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08836/1.094, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7891/0.7891, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03314/0.8222, allocations: 21.05 MB / 0.5431 GB, free: 31.97 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.548e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium): time 0.002312/0.002338, allocations: 2.488 MB / 0.5469 GB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007232/0.00957, allocations: 6.692 MB / 0.5535 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.009801, allocations: 7.938 kB / 0.5535 GB, free: 21.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.009909, allocations: 23.72 kB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.01019, allocations: 83.31 kB / 0.5536 GB, free: 21.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.01047, allocations: 55.81 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.0109, allocations: 270.6 kB / 0.5539 GB, free: 20.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.01109, allocations: 38.48 kB / 0.5539 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.01142, allocations: 176.2 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.01165, allocations: 83.72 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.01169, allocations: 20 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.01173, allocations: 16 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.01177, allocations: 35.8 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.01186, allocations: 59.88 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.01211, allocations: 139.5 kB / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-05/0.01213, allocations: 0 / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01213, allocations: 0 / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.01216, allocations: 0 / 0.5544 GB, free: 20.4 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000871/0.01303, allocations: 0.4937 MB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.01307, allocations: 15.89 kB / 0.5549 GB, free: 19.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.01314, allocations: 20.92 kB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.01338, allocations: 187 kB / 0.5551 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.0134, allocations: 8.609 kB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.01344, allocations: 16.38 kB / 0.5552 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.01368, allocations: 163.4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01369, allocations: 8 kB / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.01371, allocations: 4 kB / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01372, allocations: 4 kB / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.01384, allocations: 84.64 kB / 0.5554 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.01437, allocations: 361 kB / 0.5558 GB, free: 18.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.01462, allocations: 112.1 kB / 0.5559 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.01467, allocations: 62.48 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.01468, allocations: 4 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.01486, allocations: 184.4 kB / 0.5561 GB, free: 18.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.335e-06/0.01486, allocations: 4 kB / 0.5561 GB, free: 18.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007222/0.01559, allocations: 0.5045 MB / 0.5566 GB, free: 17.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.01564, allocations: 136.5 kB / 0.5567 GB, free: 17.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.01576, allocations: 198.1 kB / 0.5569 GB, free: 17.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01578, allocations: 37.69 kB / 0.557 GB, free: 17.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.01582, allocations: 120.4 kB / 0.5571 GB, free: 17.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.01587, allocations: 75.39 kB / 0.5571 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.01594, allocations: 51.19 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.007e-05/0.01599, allocations: 334.8 kB / 0.5575 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.19e-05/0.01606, allocations: 100.9 kB / 0.5576 GB, free: 16.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.01615, allocations: 173.3 kB / 0.5578 GB, free: 16.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.0163, allocations: 217.5 kB / 0.558 GB, free: 16.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0163, allocations: 0 / 0.558 GB, free: 16.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000206/0.0165, allocations: 264.2 kB / 0.5582 GB, free: 16.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.01656, allocations: 63.41 kB / 0.5583 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01656, allocations: 0 / 0.5583 GB, free: 16.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01657, allocations: 4.219 kB / 0.5583 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.01679, allocations: 69.86 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.0168, allocations: 4 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01691, allocations: 23.36 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01693, allocations: 12 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.000139/0.01707, allocations: 167.6 kB / 0.5586 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.01709, allocations: 15.98 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.01714, allocations: 29.95 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01714, allocations: 4 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.01715, allocations: 0 / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01715, allocations: 0 / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.01749, allocations: 381 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01749, allocations: 3.938 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.01765, allocations: 43.97 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.01768, allocations: 19.84 kB / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01769, allocations: 0 / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.0177, allocations: 8 kB / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.0177, allocations: 0 / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01771, allocations: 0 / 0.559 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.01796, allocations: 357 kB / 0.5594 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.01799, allocations: 8 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.01807, allocations: 7.984 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.01813, allocations: 19.97 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2791/0.2972, allocations: 9.047 kB / 0.5594 GB, free: 79.62 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2973, allocations: 59.86 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2973, allocations: 0.875 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002791/0.2976, allocations: 57.84 kB / 0.5595 GB, free: 79.61 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001177/0.2977, allocations: 94.66 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.298, allocations: 306.4 kB / 0.5599 GB, free: 79.32 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.298, allocations: 4.438 kB / 0.5599 GB, free: 79.32 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.2981, allocations: 145.6 kB / 0.5601 GB, free: 79.21 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2984, allocations: 92.12 kB / 0.5601 GB, free: 79.21 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.3039, allocations: 0.5668 MB / 0.5607 GB, free: 78.95 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.304, allocations: 80.25 kB / 0.5608 GB, free: 78.88 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.207e-05/0.304, allocations: 24.06 kB / 0.5608 GB, free: 78.88 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3042, allocations: 119.9 kB / 0.5609 GB, free: 78.83 MB / 410.8 MB Notification: Performance of SimCode: time 7.11e-07/0.3042, allocations: 5.844 kB / 0.5609 GB, free: 78.83 MB / 410.8 MB Notification: Performance of Templates: time 0.006106/0.3103, allocations: 3.804 MB / 0.5646 GB, free: 78.67 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03A_MuscleRelaxantsPeripherallyActingAgents.M03AC04_Atracurium.Atracurium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7286436799913645]