Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.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.0008183/0.0008183, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009693/0.001788, allocations: 443.8 kB / 10.3 MB, free: 400 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.001144/0.001144, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002561, allocations: 463.6 kB / 11.64 MB, free: 2.527 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 1.115/1.115, allocations: 177.2 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09514/1.21, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.806/0.806, allocations: 291.2 MB / 0.5225 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03454/0.8406, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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_Walsh2023_PD_pass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.047e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass): time 0.001307/0.001328, allocations: 0.6858 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.935e-05/0.001357, allocations: 7.922 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.001374, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.829e-06/0.001378, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.516e-06/0.001387, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.474e-05/0.001412, allocations: 4 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.001464, allocations: 11.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.001502, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.001553, allocations: 15.97 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.001602, allocations: 11.92 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.001621, allocations: 0 / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.64e-06/0.001627, allocations: 4 kB / 0.5451 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.001637, allocations: 3.938 kB / 0.5451 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.001657, allocations: 8 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.143e-05/0.001708, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.001722, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.001723, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.001736, allocations: 0 / 0.5452 GB, free: 29.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002859/0.002022, allocations: 231.1 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.002054, allocations: 23.83 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.002077, allocations: 0.9375 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.934e-05/0.002136, allocations: 117.7 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.002149, allocations: 4.312 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.002156, allocations: 8.375 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.213e-05/0.002218, allocations: 42.19 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.002225, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.00223, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.002236, allocations: 4.359 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.002254, allocations: 7.938 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.07e-05/0.002335, allocations: 65.08 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.002481, allocations: 38.56 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.002502, allocations: 12.86 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.00251, allocations: 4 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.002526, allocations: 34.5 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.002527, allocations: 0 / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.861e-05/0.002615, allocations: 45.78 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.168e-05/0.002637, allocations: 51.41 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.602e-05/0.002673, allocations: 106.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.002678, allocations: 25.7 kB / 0.5459 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-06/0.002686, allocations: 84.14 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.002709, allocations: 15.89 kB / 0.546 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.002738, allocations: 13.72 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.996e-05/0.002768, allocations: 322.8 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.002775, allocations: 4 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.002783, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/0.00281, allocations: 20.78 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.002812, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.247e-05/0.002854, allocations: 45.69 kB / 0.5464 GB, free: 28.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.002864, allocations: 4 kB / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.002868, allocations: 0 / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.002877, allocations: 0 / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.002918, allocations: 11.12 kB / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.002921, allocations: 0 / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.002935, allocations: 0 / 0.5464 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-06/0.002937, allocations: 4 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 3.378e-05/0.002971, allocations: 125.6 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.002978, allocations: 3.984 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.002995, allocations: 11.69 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.002997, allocations: 3.938 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.002998, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003001, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.978e-05/0.003051, allocations: 69.84 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.003052, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.003071, allocations: 4.328 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.003077, allocations: 11.98 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.003078, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.003081, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.003082, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.003084, allocations: 3.984 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.852e-05/0.003132, allocations: 73 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.003141, allocations: 4 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.003151, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.003162, allocations: 3.984 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.003164, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.839e-06/0.003174, allocations: 16.28 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003174, allocations: 4 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005166/0.008339, allocations: 8 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.017e-05/0.008409, allocations: 80.42 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.00848, allocations: 20.84 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008483, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.008494, allocations: 12.8 kB / 0.5469 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.309e-05/0.008557, allocations: 11.94 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001845/0.008741, allocations: 150.1 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.008767, allocations: 63.34 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.008798, allocations: 51.38 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008798, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.001203/0.01, allocations: 0.5132 MB / 0.5477 GB, free: 27.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1547226859256625]