Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.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.0006991/0.0006991, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009273/0.001626, 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.0006859/0.0006859, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009179/0.001604, 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 0.97/0.97, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1149/1.085, allocations: 53.68 MB / 243.3 MB, free: 15.58 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.7225/0.7225, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03052/0.753, 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.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.867e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.53 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin): time 0.00284/0.002858, allocations: 3.309 MB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004551/0.007409, allocations: 6.813 MB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.007595, allocations: 4 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.751e-05/0.007683, allocations: 39.58 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.00789, allocations: 130.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.008054, allocations: 75.92 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.00836, allocations: 445.8 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.008486, allocations: 71.31 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.00871, allocations: 266.5 kB / 0.5555 GB, free: 19.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.008892, allocations: 131.6 kB / 0.5556 GB, free: 19.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.008926, allocations: 32 kB / 0.5556 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.19e-05/0.008958, allocations: 32 kB / 0.5556 GB, free: 19.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.008993, allocations: 47.81 kB / 0.5557 GB, free: 19.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.009072, allocations: 103.8 kB / 0.5558 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.009272, allocations: 223.2 kB / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.009282, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.009283, allocations: 0 / 0.556 GB, free: 18.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.009294, allocations: 4 kB / 0.556 GB, free: 18.8 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006199/0.009914, allocations: 0.6473 MB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.009945, allocations: 15.84 kB / 0.5567 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.009997, allocations: 36.91 kB / 0.5567 GB, free: 18.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.01017, allocations: 197.5 kB / 0.5569 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.01018, allocations: 16.86 kB / 0.5569 GB, free: 17.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.01021, allocations: 28.33 kB / 0.5569 GB, free: 17.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.01041, allocations: 254.1 kB / 0.5572 GB, free: 17.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01042, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.01044, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01044, allocations: 4 kB / 0.5572 GB, free: 17.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.01055, allocations: 134.6 kB / 0.5573 GB, free: 17.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.01105, allocations: 473.9 kB / 0.5578 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.01125, allocations: 176.1 kB / 0.5579 GB, free: 16.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.0113, allocations: 114.1 kB / 0.558 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.01131, allocations: 11.88 kB / 0.558 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.01149, allocations: 323.4 kB / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.01149, allocations: 0 / 0.5583 GB, free: 16.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007391/0.01223, allocations: 0.8307 MB / 0.5592 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.01227, allocations: 277 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2844/0.2967, allocations: 230.1 kB / 0.5596 GB, free: 79.97 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.2967, allocations: 37.91 kB / 0.5597 GB, free: 79.94 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.2968, allocations: 144 kB / 0.5598 GB, free: 79.86 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.2969, allocations: 115.3 kB / 0.5599 GB, free: 79.82 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.297, allocations: 74.5 kB / 0.56 GB, free: 79.8 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.2971, allocations: 347.9 kB / 0.5603 GB, free: 79.49 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2972, allocations: 146.5 kB / 0.5605 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.2973, allocations: 253 kB / 0.5607 GB, free: 79.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.2976, allocations: 338.9 kB / 0.561 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2976, allocations: 1.375 kB / 0.561 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003593/0.298, allocations: 390 kB / 0.5614 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.298, allocations: 90.3 kB / 0.5615 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.298, allocations: 4.562 kB / 0.5615 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.298, allocations: 3.969 kB / 0.5615 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.2984, allocations: 112.8 kB / 0.5616 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2984, allocations: 7.531 kB / 0.5616 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2986, allocations: 21.55 kB / 0.5616 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2986, allocations: 15.11 kB / 0.5616 GB, free: 78.59 MB / 410.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 3 * 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.0002012/0.2988, allocations: 218.2 kB / 0.5619 GB, free: 78.42 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.2988, allocations: 35.3 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.2989, allocations: 34.69 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2989, allocations: 3.938 kB / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2989, allocations: 0 / 0.5619 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.299, allocations: 32.25 kB / 0.562 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.299, allocations: 11.47 kB / 0.562 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.299, allocations: 19.67 kB / 0.562 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.2991, allocations: 14.41 kB / 0.562 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.2992, allocations: 26.64 kB / 0.562 GB, free: 78.39 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004388/0.2996, allocations: 402.2 kB / 0.5624 GB, free: 78.16 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004802/0.3001, allocations: 0.5993 MB / 0.563 GB, free: 77.76 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001477/0.3003, allocations: 152.3 kB / 0.5631 GB, free: 77.69 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001022/0.3004, allocations: 82.94 kB / 0.5632 GB, free: 77.68 MB / 410.8 MB Notification: Performance of Backend: time 3.41e-07/0.3004, allocations: 1.25 kB / 0.5632 GB, free: 77.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.3009, allocations: 491 kB / 0.5637 GB, free: 77.34 MB / 410.8 MB Notification: Performance of SimCode: time 0.007761/0.3087, allocations: 1.357 MB / 0.565 GB, free: 76.38 MB / 410.8 MB Notification: Performance of Templates: time 0.008508/0.3172, allocations: 5.557 MB / 0.5704 GB, free: 75.2 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB01_Cefalexin.Cefalexin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.668597934767604]