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.001076/0.001076, allocations: 112.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.001142/0.001142, allocations: 215.5 kB / 23 MB, free: 2.957 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.9941/0.9941, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8359/0.8359, allocations: 312.3 MB / 0.6108 GB, free: 97.45 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: 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.002745/0.002745, allocations: 66.98 kB / 0.7698 GB, free: 20.18 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1421, allocations: 73.99 MB / 0.8421 GB, free: 10.32 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass): time 0.00167/0.1438, allocations: 0.6224 MB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.605e-05/0.1439, allocations: 8.469 kB / 0.8427 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.1439, allocations: 0 / 0.8427 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1439, allocations: 0.6875 kB / 0.8427 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.144, allocations: 3.938 kB / 0.8427 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.944e-05/0.144, allocations: 8.703 kB / 0.8427 GB, free: 9.695 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.1441, allocations: 20.47 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.1442, allocations: 3.938 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.1442, allocations: 4.688 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.1442, allocations: 11.92 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1443, allocations: 0.5312 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.1443, allocations: 0.5938 kB / 0.8428 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.1443, allocations: 7.938 kB / 0.8428 GB, free: 9.648 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.1443, allocations: 8.578 kB / 0.8428 GB, free: 9.641 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.37e-05/0.1444, allocations: 8.594 kB / 0.8428 GB, free: 9.633 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1444, allocations: 3.984 kB / 0.8428 GB, free: 9.629 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1444, allocations: 4.531 kB / 0.8428 GB, free: 9.625 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1444, allocations: 0.625 kB / 0.8428 GB, free: 9.625 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.0003909/0.1448, allocations: 257 kB / 0.843 GB, free: 9.344 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1448, allocations: 8.031 kB / 0.8431 GB, free: 9.336 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.1449, allocations: 5.562 kB / 0.8431 GB, free: 9.332 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.145, allocations: 110.4 kB / 0.8432 GB, free: 9.199 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.145, allocations: 5 kB / 0.8432 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.145, allocations: 4.875 kB / 0.8432 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.1451, allocations: 38.23 kB / 0.8432 GB, free: 9.148 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1451, allocations: 0.8125 kB / 0.8432 GB, free: 9.148 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1451, allocations: 12.47 kB / 0.8432 GB, free: 9.137 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1451, allocations: 7.938 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.1452, allocations: 4.594 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1453, allocations: 117.9 kB / 0.8434 GB, free: 8.98 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1455, allocations: 46.64 kB / 0.8434 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.1455, allocations: 9.578 kB / 0.8434 GB, free: 8.914 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.1455, allocations: 0.7188 kB / 0.8434 GB, free: 8.914 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1455, allocations: 38.56 kB / 0.8434 GB, free: 8.867 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1455, allocations: 0.5938 kB / 0.8434 GB, free: 8.867 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001599/0.1457, allocations: 58.2 kB / 0.8435 GB, free: 8.805 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.1457, allocations: 51.41 kB / 0.8435 GB, free: 8.742 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.571e-05/0.1458, allocations: 106.5 kB / 0.8436 GB, free: 8.629 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1458, allocations: 26.2 kB / 0.8437 GB, free: 8.598 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.415e-05/0.1458, allocations: 80.14 kB / 0.8438 GB, free: 8.516 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1459, allocations: 16.62 kB / 0.8438 GB, free: 8.5 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.1459, allocations: 17.7 kB / 0.8438 GB, free: 8.477 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.621e-05/0.146, allocations: 315.3 kB / 0.8441 GB, free: 8.16 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.146, allocations: 4.625 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.146, allocations: 12.23 kB / 0.8441 GB, free: 8.145 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.1461, allocations: 17.52 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1461, allocations: 4.531 kB / 0.8441 GB, free: 8.121 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.604e-05/0.1461, allocations: 53.62 kB / 0.8442 GB, free: 8.062 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1461, allocations: 4.625 kB / 0.8442 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1461, allocations: 0.625 kB / 0.8442 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1462, allocations: 7.938 kB / 0.8442 GB, free: 8.051 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.482e-05/0.1462, allocations: 4.625 kB / 0.8442 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1462, allocations: 0 / 0.8442 GB, free: 8.047 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.1462, allocations: 4.547 kB / 0.8442 GB, free: 8.043 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1462, allocations: 4.688 kB / 0.8442 GB, free: 8.039 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 6.282e-05/0.1463, allocations: 109.8 kB / 0.8443 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-06/0.1463, allocations: 0.7188 kB / 0.8443 GB, free: 7.922 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.1463, allocations: 12.38 kB / 0.8443 GB, free: 7.91 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1463, allocations: 7.922 kB / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1463, allocations: 0.9531 kB / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1463, allocations: 0 / 0.8443 GB, free: 7.902 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.365e-05/0.1464, allocations: 110 kB / 0.8444 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1464, allocations: 3.938 kB / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.1464, allocations: 8.531 kB / 0.8444 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1464, allocations: 3.984 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1464, allocations: 4.734 kB / 0.8444 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.1464, allocations: 0 / 0.8444 GB, free: 7.746 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1464, allocations: 4.5 kB / 0.8445 GB, free: 7.742 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.1465, allocations: 85.55 kB / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-06/0.1465, allocations: 0 / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.1465, allocations: 0.5312 kB / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-06/0.1465, allocations: 0.5625 kB / 0.8445 GB, free: 7.641 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.1466, allocations: 7.938 kB / 0.8445 GB, free: 7.633 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1466, allocations: 0.625 kB / 0.8445 GB, free: 7.633 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.1466, allocations: 87.95 kB / 0.8446 GB, free: 7.547 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1466, allocations: 0 / 0.8446 GB, free: 7.547 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001086/0.1467, allocations: 4.5 kB / 0.8446 GB, free: 7.543 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 9.522e-05/0.1468, allocations: 99.84 kB / 0.8447 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.144e-05/0.1469, allocations: 24.52 kB / 0.8448 GB, free: 7.41 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1469, allocations: 0.8438 kB / 0.8448 GB, free: 7.41 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.1469, allocations: 8 kB / 0.8448 GB, free: 7.402 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.147, allocations: 5.594 kB / 0.8448 GB, free: 7.398 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.1473, allocations: 139.2 kB / 0.8449 GB, free: 7.23 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.1474, allocations: 68.03 kB / 0.845 GB, free: 7.145 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.1474, allocations: 7.938 kB / 0.845 GB, free: 7.137 MB / 474.8 MB Notification: Performance of SimCode: time 5.91e-07/0.1474, allocations: 0 / 0.845 GB, free: 7.137 MB / 474.8 MB Notification: Performance of Templates: time 0.001682/0.1491, allocations: 0.5203 MB / 0.8455 GB, free: 6.637 MB / 474.8 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: 6.02941997628659]