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_glucose.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.001027/0.001027, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002334, 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.001022/0.001022, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.002122, 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.1/1.1, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.192, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8143/0.8143, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03186/0.8462, 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_glucose,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.277e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.001205/0.001217, allocations: 0.6854 MB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.778e-05/0.001245, allocations: 11.92 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.342e-05/0.001258, allocations: 4 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.578e-06/0.001263, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.177e-06/0.001272, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.997e-05/0.001292, allocations: 7.984 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.796e-05/0.00133, allocations: 11.94 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.001362, allocations: 3.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.001404, allocations: 15.94 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.001442, allocations: 7.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.001458, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-06/0.001462, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.001472, allocations: 7.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.001486, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.195e-05/0.001527, allocations: 11.97 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.001539, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00154, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.001551, 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.0002119/0.001763, allocations: 231.1 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.535e-05/0.001788, allocations: 15.84 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.725e-05/0.001805, allocations: 4.938 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.725e-05/0.001853, allocations: 117.6 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.001863, allocations: 4.375 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-06/0.001869, allocations: 4.375 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.966e-05/0.001919, allocations: 42.19 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.001924, allocations: 192 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-06/0.001929, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.001933, allocations: 384 / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.001951, allocations: 15.92 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.082e-05/0.002012, allocations: 61.03 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.002133, allocations: 38.61 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.002151, allocations: 16.94 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.002157, allocations: 11.94 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.00217, allocations: 30.56 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.00217, allocations: 0 / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 6.856e-05/0.002239, allocations: 41.69 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.002254, allocations: 51.41 kB / 0.5458 GB, free: 29.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.989e-05/0.002284, allocations: 110 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.002289, allocations: 29.69 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-06/0.002297, allocations: 80.14 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.002314, allocations: 15.91 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.002341, allocations: 17.7 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.487e-05/0.002365, allocations: 314.8 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.002374, allocations: 11.98 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.00238, allocations: 3.938 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.002401, allocations: 12.86 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.002402, allocations: 0 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.896e-05/0.002441, allocations: 41.69 kB / 0.5464 GB, free: 28.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.00245, allocations: 11.12 kB / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.002453, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.892e-06/0.002459, allocations: 0 / 0.5465 GB, free: 28.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.00249, allocations: 11.98 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.002493, allocations: 0 / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.002505, allocations: 7.938 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-06/0.002508, 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 2.725e-05/0.002535, allocations: 113.7 kB / 0.5466 GB, free: 28.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-06/0.002541, allocations: 4 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.002555, allocations: 11.62 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.002556, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.002557, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00256, allocations: 3.984 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.369e-05/0.002603, allocations: 73.83 kB / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.002604, allocations: 0 / 0.5467 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.002623, allocations: 8 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.002628, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.002629, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-06/0.002632, allocations: 4 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.002633, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.002635, allocations: 7.109 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.232e-05/0.002677, allocations: 77.31 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.002685, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-06/0.002694, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.002703, allocations: 4 kB / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.002705, allocations: 0 / 0.5468 GB, free: 28.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.337e-06/0.002714, allocations: 12.84 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.002714, allocations: 4 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000139/0.002853, allocations: 8 kB / 0.5468 GB, free: 28.01 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 4.52e-05/0.002898, allocations: 80.42 kB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.636e-05/0.002955, allocations: 16.84 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.002957, allocations: 0 / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.002968, allocations: 20.78 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 4.844e-05/0.003017, allocations: 9.906 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001489/0.003166, allocations: 146.1 kB / 0.5471 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.227e-05/0.003188, allocations: 67.34 kB / 0.5471 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.003213, allocations: 51.38 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.003213, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.001035/0.004248, allocations: 0.5177 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_glucose.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9800994219258428]