Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.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.0008373/0.0008373, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002016, allocations: 443.9 kB / 10.36 MB, free: 332 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.001065/0.001065, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002192, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.052/1.052, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.162, allocations: 53.66 MB / 243.3 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.8297/0.8297, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03007/0.8597, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.513e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference): time 0.002053/0.002068, allocations: 2.475 MB / 0.5469 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.006054, allocations: 6.684 MB / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.00617, allocations: 7.938 kB / 0.5535 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.006231, allocations: 27.66 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.006388, allocations: 79.38 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.006526, allocations: 59.81 kB / 0.5536 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.006701, allocations: 270.6 kB / 0.5539 GB, free: 20.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006801, allocations: 34.48 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.006959, allocations: 180.2 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.007094, allocations: 87.7 kB / 0.5542 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.007117, allocations: 20 kB / 0.5542 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.007136, allocations: 16 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.00716, allocations: 27.88 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.007212, allocations: 59.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.007354, allocations: 139.5 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.007364, allocations: 0 / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007365, allocations: 4 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.007375, allocations: 0 / 0.5544 GB, free: 20.41 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.000469/0.007844, allocations: 0.4937 MB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.572e-05/0.00787, allocations: 11.89 kB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.007912, allocations: 28.86 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.008045, allocations: 175.1 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.00806, allocations: 12.61 kB / 0.5551 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.008081, allocations: 20.3 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.008222, allocations: 169.3 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.008232, allocations: 0 / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.008241, allocations: 4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.008246, allocations: 4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.008314, allocations: 70.83 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.008655, allocations: 369 kB / 0.5558 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008801, allocations: 112.2 kB / 0.5559 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.008834, allocations: 54.55 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.008841, allocations: 4 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.008963, allocations: 195.2 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.008965, allocations: 3.984 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000496/0.009461, allocations: 0.5093 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.009491, allocations: 170.1 kB / 0.5568 GB, free: 17.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.009573, allocations: 206.1 kB / 0.557 GB, free: 17.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.009586, allocations: 33.7 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.009617, allocations: 116.4 kB / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.009647, allocations: 75.39 kB / 0.5572 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.00969, allocations: 47.19 kB / 0.5572 GB, free: 17.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.306e-05/0.009723, allocations: 338.8 kB / 0.5575 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.009776, allocations: 97 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.009838, allocations: 178.8 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.009934, allocations: 218.2 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009936, allocations: 0 / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001479/0.01008, allocations: 260.2 kB / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.01011, allocations: 63.41 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01012, allocations: 8.219 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.01013, allocations: 4 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01028, allocations: 63.89 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01028, allocations: 4 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.01035, allocations: 15.98 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.01037, allocations: 15.94 kB / 0.5584 GB, free: 15.89 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 9.932e-05/0.01046, allocations: 175.6 kB / 0.5586 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.01048, allocations: 15.98 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.01051, allocations: 25.95 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01051, allocations: 0 / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01052, allocations: 4 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.01053, allocations: 15.86 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01055, allocations: 15.92 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.01057, allocations: 4 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.034e-05/0.01062, allocations: 11.98 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01066, allocations: 19.97 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001711/0.01083, allocations: 278.9 kB / 0.559 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001823/0.01101, allocations: 411.8 kB / 0.5594 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.457e-05/0.01107, allocations: 86.44 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2571/0.2682, allocations: 61.58 kB / 0.5595 GB, free: 79.64 MB / 410.8 MB Notification: Performance of Backend: time 9.31e-07/0.2682, allocations: 0 / 0.5595 GB, free: 79.64 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005455/0.2687, allocations: 335.4 kB / 0.5598 GB, free: 79.41 MB / 410.8 MB Notification: Performance of SimCode: time 0.007638/0.2764, allocations: 1.121 MB / 0.5609 GB, free: 78.59 MB / 410.8 MB Notification: Performance of Templates: time 0.006333/0.2827, allocations: 3.886 MB / 0.5647 GB, free: 78.47 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M03B_MuscleRelaxantsCentrallyActingAgents.M03BC01_OrphenadrineCitrate.Orphenadrine_Elghazali2008_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8728807903826237]