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.001067/0.001067, allocations: 108.3 kB / 19.71 MB, free: 432 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.001274/0.001274, allocations: 219 kB / 23 MB, free: 2.961 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.09/1.09, 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.7607/0.7607, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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: 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.001615/0.001615, allocations: 73.64 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1324, allocations: 73.98 MB / 0.8421 GB, free: 9.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.001407/0.1338, allocations: 0.616 MB / 0.8427 GB, free: 9.262 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.883e-05/0.1338, allocations: 12.52 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.1338, allocations: 0.625 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1339, allocations: 0 / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.1339, allocations: 4.531 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.449e-05/0.134, allocations: 4.578 kB / 0.8428 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.134, allocations: 15.98 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.294e-05/0.1341, allocations: 4.578 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.1341, allocations: 12.5 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.1341, allocations: 7.984 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1342, allocations: 0.5938 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-06/0.1342, allocations: 0.75 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.1342, allocations: 7.938 kB / 0.8428 GB, free: 9.195 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.1342, allocations: 8.531 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.048e-05/0.1343, allocations: 11.92 kB / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1343, allocations: 0.6875 kB / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1343, allocations: 0 / 0.8428 GB, free: 9.176 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1343, allocations: 0.5938 kB / 0.8428 GB, free: 9.176 MB / 474.8 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.0003313/0.1346, allocations: 259 kB / 0.8431 GB, free: 8.891 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1346, allocations: 8.031 kB / 0.8431 GB, free: 8.883 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.1347, allocations: 5.656 kB / 0.8431 GB, free: 8.879 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.78e-05/0.1348, allocations: 119 kB / 0.8432 GB, free: 8.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1348, allocations: 4.375 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1348, allocations: 1 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.471e-05/0.1349, allocations: 42.23 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1349, allocations: 4.719 kB / 0.8432 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1349, allocations: 8.562 kB / 0.8433 GB, free: 8.676 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.1349, allocations: 0 / 0.8433 GB, free: 8.676 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.1349, allocations: 12.62 kB / 0.8433 GB, free: 8.664 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1351, allocations: 109.4 kB / 0.8434 GB, free: 8.527 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1352, allocations: 43.14 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.1353, allocations: 13.48 kB / 0.8434 GB, free: 8.461 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1353, allocations: 0.5 kB / 0.8434 GB, free: 8.461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.1353, allocations: 35.16 kB / 0.8435 GB, free: 8.418 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 6.21e-07/0.1353, allocations: 0 / 0.8435 GB, free: 8.418 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001379/0.1354, allocations: 62.16 kB / 0.8435 GB, free: 8.352 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1355, allocations: 52.03 kB / 0.8436 GB, free: 8.289 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.553e-05/0.1355, allocations: 105.8 kB / 0.8437 GB, free: 8.176 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.1355, allocations: 26.42 kB / 0.8437 GB, free: 8.145 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.1355, allocations: 80.14 kB / 0.8438 GB, free: 8.062 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1356, allocations: 16.53 kB / 0.8438 GB, free: 8.047 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.1356, allocations: 14.34 kB / 0.8438 GB, free: 8.027 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.1357, allocations: 318.8 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.1357, allocations: 4.625 kB / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.1357, allocations: 4 kB / 0.8441 GB, free: 7.699 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.1357, allocations: 25.58 kB / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1357, allocations: 0 / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.317e-05/0.1358, allocations: 50.22 kB / 0.8442 GB, free: 7.617 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1358, allocations: 4.562 kB / 0.8442 GB, free: 7.613 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1358, allocations: 4 kB / 0.8442 GB, free: 7.609 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1358, allocations: 4.625 kB / 0.8442 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.1358, allocations: 8.234 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1358, allocations: 4.734 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.1359, allocations: 11.89 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.1359, allocations: 4.5 kB / 0.8442 GB, free: 7.578 MB / 474.8 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 5.034e-05/0.1359, allocations: 111.7 kB / 0.8443 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-06/0.1359, allocations: 4.625 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.1359, allocations: 3.688 kB / 0.8443 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1359, allocations: 4.891 kB / 0.8443 GB, free: 7.449 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1359, allocations: 0 / 0.8443 GB, free: 7.449 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1359, allocations: 4.531 kB / 0.8443 GB, free: 7.445 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.234e-05/0.136, allocations: 113.8 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.136, allocations: 0 / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.136, allocations: 12.38 kB / 0.8445 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.136, allocations: 0.7188 kB / 0.8445 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.136, allocations: 0 / 0.8445 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.136, allocations: 0.625 kB / 0.8445 GB, free: 7.293 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.136, allocations: 7.938 kB / 0.8445 GB, free: 7.285 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.1361, allocations: 77.73 kB / 0.8445 GB, free: 7.191 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.1361, allocations: 0.625 kB / 0.8445 GB, free: 7.191 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1361, allocations: 3.984 kB / 0.8446 GB, free: 7.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.1361, allocations: 4.594 kB / 0.8446 GB, free: 7.184 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.1361, allocations: 7.938 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.1361, allocations: 0.625 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.419e-05/0.1362, allocations: 79.91 kB / 0.8446 GB, free: 7.098 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1362, allocations: 0 / 0.8446 GB, free: 7.098 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001098/0.1363, allocations: 8.5 kB / 0.8446 GB, free: 7.09 MB / 474.8 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 8.185e-05/0.1364, allocations: 109.8 kB / 0.8448 GB, free: 6.973 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.1364, allocations: 16.5 kB / 0.8448 GB, free: 6.957 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1364, allocations: 0.6562 kB / 0.8448 GB, free: 6.957 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.1364, allocations: 11.98 kB / 0.8448 GB, free: 6.945 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.1366, allocations: 0.5938 kB / 0.8448 GB, free: 6.945 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.1368, allocations: 143.4 kB / 0.8449 GB, free: 6.773 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.1368, allocations: 67.78 kB / 0.845 GB, free: 6.688 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.1369, allocations: 8.062 kB / 0.845 GB, free: 6.68 MB / 474.8 MB Notification: Performance of SimCode: time 4.91e-07/0.1369, allocations: 0.5 kB / 0.845 GB, free: 6.68 MB / 474.8 MB Notification: Performance of Templates: time 0.001401/0.1383, allocations: 0.5199 MB / 0.8455 GB, free: 6.18 MB / 474.8 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: 5.915066042914987]