Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.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.0007477/0.0007477, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008963/0.001644, 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.0007102/0.0007102, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008776/0.001588, 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.9579/0.9579, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08935/1.047, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7286/0.7286, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03002/0.7586, allocations: 21.04 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.J01DB04_Cefazolin.Cefazolin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1468800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.515e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin): time 0.002947/0.002973, allocations: 2.507 MB / 0.547 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.007486, allocations: 6.692 MB / 0.5536 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.007632, allocations: 0 / 0.5536 GB, free: 21.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.448e-05/0.007727, allocations: 27.7 kB / 0.5536 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.007895, allocations: 95.27 kB / 0.5537 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.008054, allocations: 47.88 kB / 0.5537 GB, free: 21.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.008243, allocations: 266.6 kB / 0.554 GB, free: 20.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.008357, allocations: 42.47 kB / 0.554 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.008527, allocations: 180.2 kB / 0.5542 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.00868, allocations: 87.72 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.008706, allocations: 16 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.008729, allocations: 16 kB / 0.5543 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.008763, allocations: 31.88 kB / 0.5543 GB, free: 20.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.008823, allocations: 63.88 kB / 0.5544 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.008997, allocations: 139.5 kB / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.00901, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.009011, allocations: 0 / 0.5545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.009022, allocations: 0 / 0.5545 GB, free: 20.34 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.0005348/0.009557, allocations: 0.4937 MB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.009591, allocations: 15.84 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.009637, allocations: 32.91 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.009794, allocations: 179 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.00981, allocations: 8.609 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.009836, allocations: 16.38 kB / 0.5552 GB, free: 19.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.009993, allocations: 155.5 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01, allocations: 7.969 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.01001, allocations: 4 kB / 0.5554 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01002, allocations: 7.984 kB / 0.5554 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.0101, allocations: 80.64 kB / 0.5555 GB, free: 19.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.01047, allocations: 365 kB / 0.5558 GB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.01063, allocations: 108.1 kB / 0.5559 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.01067, allocations: 62.53 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.01068, allocations: 4 kB / 0.556 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.01083, allocations: 191.3 kB / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.01083, allocations: 0 / 0.5562 GB, free: 18.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005343/0.01136, allocations: 0.5133 MB / 0.5567 GB, free: 17.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.01139, allocations: 162.2 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.01148, allocations: 206.1 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.01149, allocations: 29.7 kB / 0.5571 GB, free: 17.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.01152, allocations: 124.4 kB / 0.5572 GB, free: 17.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.01155, allocations: 67.42 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.0116, allocations: 55.16 kB / 0.5573 GB, free: 17.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.293e-05/0.01164, allocations: 338.8 kB / 0.5576 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.0117, allocations: 97.02 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.01176, allocations: 177.3 kB / 0.5579 GB, free: 16.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.524e-05/0.01186, allocations: 206.2 kB / 0.5581 GB, free: 16.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01186, allocations: 0 / 0.5581 GB, free: 16.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001526/0.01201, allocations: 267.1 kB / 0.5583 GB, free: 16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.01205, allocations: 67.39 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01205, allocations: 0 / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01206, allocations: 4 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01222, allocations: 63.89 kB / 0.5585 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.01223, allocations: 7.938 kB / 0.5585 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.0123, allocations: 15.41 kB / 0.5585 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01232, allocations: 23.92 kB / 0.5585 GB, free: 15.81 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.0001143/0.01243, allocations: 165.6 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.01246, allocations: 23.97 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.01249, allocations: 21.97 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.01249, allocations: 3.984 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01249, allocations: 0 / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.01252, allocations: 15.86 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.01253, allocations: 11.94 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.01255, allocations: 12 kB / 0.5588 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.01261, allocations: 11.98 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.01266, allocations: 15.97 kB / 0.5588 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001841/0.01284, allocations: 276.1 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001875/0.01303, allocations: 423.7 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2531/0.2661, allocations: 72.8 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.918e-05/0.2662, allocations: 63.38 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of Backend: time 2.11e-07/0.2662, allocations: 3.812 kB / 0.5596 GB, free: 79.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.2666, allocations: 336 kB / 0.5599 GB, free: 79.3 MB / 410.8 MB Notification: Performance of SimCode: time 0.006027/0.2727, allocations: 1.112 MB / 0.561 GB, free: 78.49 MB / 410.8 MB Notification: Performance of Templates: time 0.00776/0.2804, allocations: 3.869 MB / 0.5648 GB, free: 78.34 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01D_OtherBetaLactamAntibacterials.J01DB04_Cefazolin.Cefazolin.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.242166778072715]