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.001025/0.001025, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 13.93 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.001058/0.001058, allocations: 215.5 kB / 23 MB, free: 2.938 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.9626/0.9626, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.682/0.682, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 73.59 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1047, allocations: 73.99 MB / 0.8422 GB, free: 10.29 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol): time 0.003619/0.1083, allocations: 3.017 MB / 0.8451 GB, free: 7.273 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006107/0.1144, allocations: 6.637 MB / 0.8516 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1146, allocations: 4.688 kB / 0.8516 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1147, allocations: 39.58 kB / 0.8516 GB, free: 0.5938 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.115, allocations: 120.4 kB / 0.8517 GB, free: 488 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1153, allocations: 84.44 kB / 0.8518 GB, free: 404 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.1157, allocations: 422.6 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1158, allocations: 58.17 kB / 0.8523 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.116, allocations: 152 kB / 0.8524 GB, free: 15.77 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1162, allocations: 148 kB / 0.8526 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.1163, allocations: 32 kB / 0.8526 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.1163, allocations: 36.56 kB / 0.8526 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1164, allocations: 63.72 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1165, allocations: 147.9 kB / 0.8528 GB, free: 15.36 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1168, allocations: 351.4 kB / 0.8532 GB, free: 15.01 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1168, allocations: 7.984 kB / 0.8532 GB, free: 15 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1168, allocations: 0.5 kB / 0.8532 GB, free: 15 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1169, allocations: 0 / 0.8532 GB, free: 15 MB / 490.8 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.0008706/0.1177, allocations: 0.6095 MB / 0.8538 GB, free: 14.35 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1178, allocations: 8.594 kB / 0.8538 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.1178, allocations: 41.38 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1181, allocations: 225 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1181, allocations: 17.53 kB / 0.854 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.1182, allocations: 27.89 kB / 0.8541 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.1186, allocations: 309.6 kB / 0.8544 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1186, allocations: 0.6875 kB / 0.8544 GB, free: 13.68 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1186, allocations: 12 kB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1186, allocations: 4.656 kB / 0.8544 GB, free: 13.67 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.119, allocations: 241.2 kB / 0.8546 GB, free: 13.42 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1201, allocations: 0.652 MB / 0.8553 GB, free: 12.73 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.1206, allocations: 270.9 kB / 0.8555 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.1208, allocations: 160.9 kB / 0.8557 GB, free: 12.28 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1208, allocations: 4.5 kB / 0.8557 GB, free: 12.28 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2156/0.3365, allocations: 367.2 kB / 0.856 GB, free: 21.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.3365, allocations: 0 / 0.856 GB, free: 21.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001306/0.3378, allocations: 1.135 MB / 0.8571 GB, free: 20.74 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.3378, allocations: 224.4 kB / 0.8573 GB, free: 20.49 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.338, allocations: 250.9 kB / 0.8576 GB, free: 20.39 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3381, allocations: 34.91 kB / 0.8576 GB, free: 20.36 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.3381, allocations: 159.1 kB / 0.8578 GB, free: 20.26 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.3382, allocations: 119.7 kB / 0.8579 GB, free: 20.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.3383, allocations: 71.78 kB / 0.8579 GB, free: 20.19 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.3383, allocations: 341.5 kB / 0.8583 GB, free: 19.88 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3385, allocations: 228.6 kB / 0.8585 GB, free: 19.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.3387, allocations: 324.4 kB / 0.8588 GB, free: 19.53 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.339, allocations: 459.2 kB / 0.8592 GB, free: 19.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.339, allocations: 6.094 kB / 0.8592 GB, free: 19.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004717/0.3395, allocations: 0.5735 MB / 0.8598 GB, free: 19.03 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.3395, allocations: 86.98 kB / 0.8599 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3395, allocations: 2.219 kB / 0.8599 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3395, allocations: 7 kB / 0.8599 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.3397, allocations: 82.14 kB / 0.86 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3397, allocations: 7.016 kB / 0.86 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3399, allocations: 26.38 kB / 0.86 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.3399, allocations: 21.66 kB / 0.86 GB, free: 18.93 MB / 490.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.0001878/0.3401, allocations: 238.1 kB / 0.8603 GB, free: 18.76 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.3401, allocations: 35 kB / 0.8603 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.3401, allocations: 31.41 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3401, allocations: 1.344 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3401, allocations: 0.625 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3401, allocations: 2.391 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.3408, allocations: 0.8191 MB / 0.8611 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3408, allocations: 0.7188 kB / 0.8611 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.341, allocations: 58.8 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.341, allocations: 0.5625 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.341, allocations: 12 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.341, allocations: 4.562 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.341, allocations: 2.094 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.3417, allocations: 0.7639 MB / 0.8619 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.3417, allocations: 54.56 kB / 0.862 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3418, allocations: 13.48 kB / 0.862 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3419, allocations: 23.23 kB / 0.862 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.342, allocations: 34.55 kB / 0.8621 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.342, allocations: 13.81 kB / 0.8621 GB, free: 18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3421, allocations: 184.3 kB / 0.8623 GB, free: 17.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0.625 kB / 0.8623 GB, free: 17.92 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002271/0.3423, allocations: 88.45 kB / 0.8623 GB, free: 17.92 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.884e-05/0.3424, allocations: 126.6 kB / 0.8625 GB, free: 17.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004597/0.3429, allocations: 0.5944 MB / 0.863 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3429, allocations: 1.25 kB / 0.863 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3431, allocations: 316.3 kB / 0.8633 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3435, allocations: 90.52 kB / 0.8634 GB, free: 17.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3447, allocations: 1.069 MB / 0.8645 GB, free: 16.75 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.3448, allocations: 164.2 kB / 0.8646 GB, free: 16.67 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3448, allocations: 28.67 kB / 0.8647 GB, free: 16.66 MB / 490.8 MB Notification: Performance of SimCode: time 8.41e-07/0.3448, allocations: 0 / 0.8647 GB, free: 16.66 MB / 490.8 MB Notification: Performance of Templates: time 0.006184/0.351, allocations: 4.351 MB / 0.8689 GB, free: 16.27 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.228837466798723]