Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_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.001044/0.001044, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002489, 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.00102/0.00102, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002485, 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.13, 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.7999/0.7999, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03193/0.8319, 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.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference") translateModel(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.148e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference): time 0.002604/0.002626, allocations: 2.476 MB / 0.547 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004284/0.00691, allocations: 6.688 MB / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.007042, allocations: 7.938 kB / 0.5535 GB, free: 21.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.583e-05/0.007117, allocations: 27.72 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.007264, allocations: 83.33 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.007407, allocations: 59.8 kB / 0.5537 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.007605, allocations: 262.6 kB / 0.5539 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.007723, allocations: 38.47 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.007898, allocations: 180.2 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.008057, allocations: 83.73 kB / 0.5542 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.008083, allocations: 16 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.008104, allocations: 20 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.00813, allocations: 27.88 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.008188, allocations: 63.86 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.008346, allocations: 139.5 kB / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.008359, allocations: 0 / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00836, allocations: 0 / 0.5544 GB, free: 20.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.008373, 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.0005827/0.008955, allocations: 0.4976 MB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.008988, allocations: 15.89 kB / 0.555 GB, free: 19.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.009034, allocations: 20.92 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.009197, allocations: 187 kB / 0.5551 GB, free: 19.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.009214, allocations: 8.609 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.00924, allocations: 12.31 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.009401, allocations: 165.3 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009412, allocations: 0 / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.009423, allocations: 8 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.00943, allocations: 4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.00951, allocations: 82.81 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.009915, allocations: 361 kB / 0.5558 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.01009, allocations: 112.2 kB / 0.5559 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.01013, allocations: 58.55 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.01014, allocations: 0 / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.01028, allocations: 199.3 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.01028, allocations: 0 / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000544/0.01082, allocations: 0.5093 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01086, allocations: 170.1 kB / 0.5568 GB, free: 17.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.01094, allocations: 206.1 kB / 0.557 GB, free: 17.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.01095, allocations: 33.7 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.01099, allocations: 112.5 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.01102, allocations: 75.39 kB / 0.5572 GB, free: 17.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.01107, allocations: 55.17 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.382e-05/0.01111, allocations: 334.8 kB / 0.5576 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.01116, allocations: 97 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.01122, allocations: 173.4 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.01132, allocations: 218.9 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01132, allocations: 0 / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000163/0.01149, allocations: 268.2 kB / 0.5583 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.01151, allocations: 55.41 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01152, allocations: 4 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01153, allocations: 7.984 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.0117, allocations: 63.91 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.0117, allocations: 6.656 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.01178, allocations: 23.27 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.0118, allocations: 11.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 0.0001127/0.01191, allocations: 174.8 kB / 0.5586 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.01193, allocations: 15.98 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.01196, allocations: 25.95 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.01196, allocations: 0 / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01196, allocations: 4 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.01198, allocations: 19.84 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.012, allocations: 15.94 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.01202, allocations: 4 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.01207, allocations: 11.98 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.01212, allocations: 19.97 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001852/0.0123, allocations: 268.1 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001926/0.0125, allocations: 422.4 kB / 0.5594 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.328e-05/0.01255, allocations: 78.52 kB / 0.5595 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2748/0.2874, allocations: 68.98 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Performance of Backend: time 8.32e-07/0.2874, allocations: 3.812 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2878, allocations: 337.5 kB / 0.5598 GB, free: 79.39 MB / 410.8 MB Notification: Performance of SimCode: time 0.006011/0.2939, allocations: 1.112 MB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of Templates: time 0.006564/0.3004, allocations: 3.879 MB / 0.5647 GB, free: 78.43 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.M_MusculoSkeletalSystem.M09A_OtherDrugsForDisordersOfTheMusculoSkeletalSystem.M09AA01_Hydroquinine.Hydroquinine_van2000_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.952637334354222]