Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.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.001134/0.001134, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.00221, 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.0007312/0.0007312, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009488/0.00168, 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.9909/0.9909, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09229/1.083, allocations: 53.66 MB / 243.3 MB, free: 15.56 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.7397/0.7397, allocations: 291.1 MB / 0.5226 GB, free: 52.78 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02805/0.7678, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.5445 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.299e-05, allocations: 10.19 kB / 0.5445 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol): time 0.002981/0.002994, allocations: 3.297 MB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.00753, allocations: 6.805 MB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.007659, allocations: 3.938 kB / 0.5544 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.007742, allocations: 39.62 kB / 0.5544 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.007944, allocations: 130.9 kB / 0.5546 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.008104, allocations: 83.89 kB / 0.5547 GB, free: 20 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.008388, allocations: 437.8 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.008526, allocations: 75.3 kB / 0.5551 GB, free: 19.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.008767, allocations: 266.5 kB / 0.5554 GB, free: 19.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.008951, allocations: 127.6 kB / 0.5555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.008988, allocations: 32 kB / 0.5555 GB, free: 19.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-05/0.009025, allocations: 32 kB / 0.5556 GB, free: 19.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.009064, allocations: 47.81 kB / 0.5556 GB, free: 19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.705e-05/0.009161, allocations: 103.8 kB / 0.5557 GB, free: 18.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.009393, allocations: 227.2 kB / 0.5559 GB, free: 18.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.009404, allocations: 0 / 0.5559 GB, free: 18.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.009404, allocations: 0 / 0.5559 GB, free: 18.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.009429, allocations: 0 / 0.5559 GB, free: 18.67 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.0006996/0.01013, allocations: 0.6473 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.01016, allocations: 11.89 kB / 0.5566 GB, free: 17.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.01023, allocations: 36.91 kB / 0.5566 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.01043, allocations: 205.5 kB / 0.5568 GB, free: 17.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.01045, allocations: 12.88 kB / 0.5568 GB, free: 17.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.01049, allocations: 30.02 kB / 0.5569 GB, free: 17.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.01074, allocations: 250.1 kB / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01076, allocations: 0 / 0.5571 GB, free: 17.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.01078, allocations: 8 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.01079, allocations: 7.984 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.01092, allocations: 134.6 kB / 0.5572 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.01151, allocations: 477.9 kB / 0.5577 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.01174, allocations: 180 kB / 0.5579 GB, free: 16.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.01181, allocations: 99.14 kB / 0.558 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.01182, allocations: 15.88 kB / 0.558 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.01203, allocations: 323.4 kB / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.01203, allocations: 0 / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008548/0.01289, allocations: 0.8385 MB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2582/0.2711, allocations: 274.8 kB / 0.5594 GB, free: 79.74 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.2713, allocations: 225 kB / 0.5596 GB, free: 79.63 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2714, allocations: 36.14 kB / 0.5596 GB, free: 79.6 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.2714, allocations: 140.9 kB / 0.5597 GB, free: 79.52 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.2715, allocations: 124.6 kB / 0.5599 GB, free: 79.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.2715, allocations: 71.23 kB / 0.5599 GB, free: 79.46 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.2716, allocations: 349.2 kB / 0.5603 GB, free: 79.15 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.2717, allocations: 149.4 kB / 0.5604 GB, free: 79.05 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2718, allocations: 248.2 kB / 0.5606 GB, free: 78.82 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.272, allocations: 339.2 kB / 0.561 GB, free: 78.57 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.272, allocations: 3.219 kB / 0.561 GB, free: 78.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0002891/0.2723, allocations: 388.3 kB / 0.5613 GB, free: 78.34 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.2723, allocations: 92.5 kB / 0.5614 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2723, allocations: 3 kB / 0.5614 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2724, allocations: 5.938 kB / 0.5614 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2727, allocations: 112.1 kB / 0.5615 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.2727, allocations: 7.203 kB / 0.5616 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2728, allocations: 22.02 kB / 0.5616 GB, free: 78.25 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2728, allocations: 15.08 kB / 0.5616 GB, free: 78.25 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.0001516/0.2729, allocations: 218.4 kB / 0.5618 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.273, allocations: 39.48 kB / 0.5618 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.273, allocations: 37.38 kB / 0.5619 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2731, allocations: 1.922 kB / 0.5619 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2731, allocations: 1.031 kB / 0.5619 GB, free: 78.07 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.802e-05/0.2731, allocations: 32.14 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2732, allocations: 9.859 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.2732, allocations: 17.45 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2733, allocations: 15.88 kB / 0.5619 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.2734, allocations: 27.58 kB / 0.562 GB, free: 78.05 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004022/0.2738, allocations: 399.9 kB / 0.5624 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004257/0.2742, allocations: 0.5997 MB / 0.5629 GB, free: 77.42 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001273/0.2743, allocations: 148.8 kB / 0.5631 GB, free: 77.34 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.164e-05/0.2744, allocations: 88.62 kB / 0.5632 GB, free: 77.33 MB / 410.8 MB Notification: Performance of Backend: time 1.7e-07/0.2744, allocations: 3.125 kB / 0.5632 GB, free: 77.33 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.2749, allocations: 480.6 kB / 0.5636 GB, free: 76.99 MB / 410.8 MB Notification: Performance of SimCode: time 0.01048/0.2854, allocations: 1.361 MB / 0.565 GB, free: 76.04 MB / 410.8 MB Notification: Performance of Templates: time 0.008553/0.2939, allocations: 5.551 MB / 0.5704 GB, free: 74.85 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.851572315208614]