Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.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.001484/0.001484, allocations: 104.3 kB / 19.71 MB, free: 440 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.001653/0.001653, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.9973/0.9973, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7993/0.7993, allocations: 312.3 MB / 0.6109 GB, free: 97.13 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.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline") [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.001633/0.001633, allocations: 77.19 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1397, allocations: 73.99 MB / 0.8422 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline): time 0.00279/0.1424, allocations: 2.297 MB / 0.8444 GB, free: 7.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.1486, allocations: 6.529 MB / 0.8508 GB, free: 1.012 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1488, allocations: 0.625 kB / 0.8508 GB, free: 1.012 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1489, allocations: 27.72 kB / 0.8508 GB, free: 0.9844 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1491, allocations: 84.66 kB / 0.8509 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1493, allocations: 44.48 kB / 0.8509 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.1496, allocations: 263.3 kB / 0.8512 GB, free: 0.6016 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.1497, allocations: 32.56 kB / 0.8512 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1498, allocations: 100.3 kB / 0.8513 GB, free: 484 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.15, allocations: 100 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1501, allocations: 16 kB / 0.8514 GB, free: 368 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.598e-05/0.1501, allocations: 16.53 kB / 0.8514 GB, free: 352 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.1501, allocations: 40.33 kB / 0.8515 GB, free: 312 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.275e-05/0.1502, allocations: 91.55 kB / 0.8516 GB, free: 220 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1504, allocations: 199.8 kB / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1504, allocations: 0.625 kB / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1504, allocations: 0 / 0.8517 GB, free: 20 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1504, allocations: 0.5 kB / 0.8518 GB, free: 20 kB / 474.8 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.0007259/0.1512, allocations: 0.4946 MB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1512, allocations: 8.594 kB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.1512, allocations: 28.73 kB / 0.8523 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1514, allocations: 179.8 kB / 0.8524 GB, free: 15.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1515, allocations: 12.61 kB / 0.8525 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1515, allocations: 20.52 kB / 0.8525 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1517, allocations: 195 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1518, allocations: 0.5 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1518, allocations: 4.625 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1518, allocations: 4 kB / 0.8527 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.152, allocations: 147.5 kB / 0.8528 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.1529, allocations: 482.6 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.1533, allocations: 173.3 kB / 0.8534 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1534, allocations: 99.17 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1534, allocations: 4.562 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.1536, allocations: 221.2 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.953e-06/0.1536, allocations: 0.75 kB / 0.8537 GB, free: 13.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001018/0.1547, allocations: 0.7006 MB / 0.8544 GB, free: 13.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.1547, allocations: 136.5 kB / 0.8546 GB, free: 12.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1549, allocations: 223.4 kB / 0.8548 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1549, allocations: 34.27 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.155, allocations: 128.5 kB / 0.8549 GB, free: 12.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.155, allocations: 68.11 kB / 0.855 GB, free: 12.42 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.1551, allocations: 58.38 kB / 0.855 GB, free: 12.36 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.1552, allocations: 342.7 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2712/0.4264, allocations: 141.2 kB / 0.8555 GB, free: 30.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4266, allocations: 229.6 kB / 0.8557 GB, free: 30.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4268, allocations: 280.5 kB / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.4268, allocations: 0 / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003929/0.4272, allocations: 394 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.4272, allocations: 68.47 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4272, allocations: 0.625 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4273, allocations: 3.906 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.4274, allocations: 48.55 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4274, allocations: 3.625 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.4275, allocations: 20.58 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4275, allocations: 11.45 kB / 0.8565 GB, free: 29.72 MB / 490.8 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.0001688/0.4277, allocations: 180.5 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.4277, allocations: 30.12 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.4278, allocations: 28.47 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4278, allocations: 1.5 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4278, allocations: 0 / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4278, allocations: 2.438 kB / 0.8568 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.4283, allocations: 0.5364 MB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4283, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4284, allocations: 39.39 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4284, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.4284, allocations: 8.25 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4284, allocations: 3.938 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4284, allocations: 0 / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.4289, allocations: 0.4915 MB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.4289, allocations: 18.95 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.4289, allocations: 10.09 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.429, allocations: 16.78 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.4291, allocations: 22.08 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4291, allocations: 5.922 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.63e-05/0.4292, allocations: 158.2 kB / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4292, allocations: 0 / 0.858 GB, free: 28.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001886/0.4294, allocations: 56.88 kB / 0.8581 GB, free: 28.97 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.236e-05/0.4295, allocations: 118 kB / 0.8582 GB, free: 28.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4298, allocations: 379.9 kB / 0.8586 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4298, allocations: 0.5938 kB / 0.8586 GB, free: 28.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4299, allocations: 171.6 kB / 0.8587 GB, free: 28.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.4302, allocations: 72.98 kB / 0.8588 GB, free: 28.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.4311, allocations: 0.7086 MB / 0.8595 GB, free: 28.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.941e-05/0.4312, allocations: 125.9 kB / 0.8596 GB, free: 28.17 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.4312, allocations: 22.25 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of SimCode: time 3.61e-07/0.4312, allocations: 0.625 kB / 0.8596 GB, free: 28.16 MB / 490.8 MB Notification: Performance of Templates: time 0.004075/0.4353, allocations: 2.943 MB / 0.8625 GB, free: 27.96 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03D_OtherSystemicDrugsForObstructiveAirwayDiseases.R03DA05_Aminophylline.Aminophylline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.317456316202879]