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_tachycardia.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.0009629/0.0009629, allocations: 104.4 kB / 19.71 MB, free: 436 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.001131/0.001131, allocations: 215.5 kB / 23.01 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 1.072/1.072, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.8022/0.8022, allocations: 312.3 MB / 0.6108 GB, free: 97.59 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_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") [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.00182/0.00182, allocations: 71.42 kB / 0.7698 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1191, allocations: 73.99 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia): time 0.001475/0.1206, allocations: 0.6279 MB / 0.8427 GB, free: 9.746 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.106e-05/0.1207, allocations: 12.48 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.1207, allocations: 0 / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1207, allocations: 0.625 kB / 0.8427 GB, free: 9.734 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.604e-05/0.1207, allocations: 4.5 kB / 0.8427 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.028e-05/0.1208, allocations: 0 / 0.8427 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.1209, allocations: 16.55 kB / 0.8427 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.779e-05/0.1209, allocations: 8.562 kB / 0.8428 GB, free: 9.707 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.121, allocations: 7.922 kB / 0.8428 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.121, allocations: 12.62 kB / 0.8428 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.121, allocations: 7.922 kB / 0.8428 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.121, allocations: 4.531 kB / 0.8428 GB, free: 9.676 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1211, allocations: 4.672 kB / 0.8428 GB, free: 9.672 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.1211, allocations: 3.938 kB / 0.8428 GB, free: 9.668 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.956e-05/0.1211, allocations: 16.58 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1211, allocations: 0 / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1211, allocations: 0.5 kB / 0.8428 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1212, allocations: 0.625 kB / 0.8428 GB, free: 9.652 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.0003668/0.1215, allocations: 257.1 kB / 0.8431 GB, free: 9.371 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1216, allocations: 8.031 kB / 0.8431 GB, free: 9.363 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1216, allocations: 5.562 kB / 0.8431 GB, free: 9.359 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.1217, allocations: 114.4 kB / 0.8432 GB, free: 9.223 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1217, allocations: 5.031 kB / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1217, allocations: 384 / 0.8432 GB, free: 9.219 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.1218, allocations: 38.89 kB / 0.8432 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1218, allocations: 0.7812 kB / 0.8432 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1218, allocations: 3.938 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1218, allocations: 0.625 kB / 0.8432 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.1219, allocations: 19.92 kB / 0.8432 GB, free: 9.152 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.122, allocations: 101.9 kB / 0.8433 GB, free: 9.023 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1222, allocations: 43.14 kB / 0.8434 GB, free: 8.973 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.1222, allocations: 17.61 kB / 0.8434 GB, free: 8.953 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1222, allocations: 4.594 kB / 0.8434 GB, free: 8.949 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1222, allocations: 30.56 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1222, allocations: 0.625 kB / 0.8434 GB, free: 8.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.1224, allocations: 66.36 kB / 0.8435 GB, free: 8.84 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1224, allocations: 59.34 kB / 0.8436 GB, free: 8.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.1225, allocations: 98.44 kB / 0.8436 GB, free: 8.664 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1225, allocations: 29.7 kB / 0.8437 GB, free: 8.629 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.1225, allocations: 84.73 kB / 0.8438 GB, free: 8.543 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1225, allocations: 8.5 kB / 0.8438 GB, free: 8.535 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1226, allocations: 17.72 kB / 0.8438 GB, free: 8.512 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.1226, allocations: 315.4 kB / 0.8441 GB, free: 8.195 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.1226, allocations: 8.719 kB / 0.8441 GB, free: 8.188 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.1227, allocations: 4 kB / 0.8441 GB, free: 8.184 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.1227, allocations: 25.39 kB / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1227, allocations: 0 / 0.8441 GB, free: 8.156 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.28e-05/0.1228, allocations: 54.25 kB / 0.8442 GB, free: 8.098 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1228, allocations: 8.625 kB / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1228, allocations: 0 / 0.8442 GB, free: 8.09 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1228, allocations: 4.531 kB / 0.8442 GB, free: 8.086 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.353e-05/0.1229, allocations: 4 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1229, allocations: 0.6562 kB / 0.8442 GB, free: 8.082 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1229, allocations: 12.56 kB / 0.8442 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1229, allocations: 0 / 0.8442 GB, free: 8.07 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.319e-05/0.1229, allocations: 106.5 kB / 0.8443 GB, free: 7.957 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-06/0.123, allocations: 4.688 kB / 0.8443 GB, free: 7.953 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.123, allocations: 7.688 kB / 0.8443 GB, free: 7.945 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.123, allocations: 4.531 kB / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.123, allocations: 0 / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.123, allocations: 0.6875 kB / 0.8443 GB, free: 7.941 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.918e-05/0.1231, allocations: 118.1 kB / 0.8444 GB, free: 7.797 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1231, allocations: 7.938 kB / 0.8444 GB, free: 7.789 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.1231, allocations: 4.75 kB / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1231, allocations: 0 / 0.8444 GB, free: 7.785 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1231, allocations: 4.625 kB / 0.8444 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1231, allocations: 0 / 0.8444 GB, free: 7.781 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1231, allocations: 4.5 kB / 0.8445 GB, free: 7.777 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.1232, allocations: 77.64 kB / 0.8445 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.1232, allocations: 0 / 0.8445 GB, free: 7.684 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1232, allocations: 4.625 kB / 0.8445 GB, free: 7.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-06/0.1232, allocations: 0 / 0.8445 GB, free: 7.68 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.1232, allocations: 8.422 kB / 0.8445 GB, free: 7.672 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1232, allocations: 4.562 kB / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.544e-05/0.1232, allocations: 79.28 kB / 0.8446 GB, free: 7.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1232, allocations: 0.5938 kB / 0.8446 GB, free: 7.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001074/0.1233, allocations: 4.656 kB / 0.8446 GB, free: 7.586 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.84e-05/0.1234, allocations: 107.7 kB / 0.8447 GB, free: 7.469 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.1235, allocations: 20.66 kB / 0.8447 GB, free: 7.449 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1235, allocations: 0 / 0.8447 GB, free: 7.449 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.1235, allocations: 12.62 kB / 0.8448 GB, free: 7.438 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1237, allocations: 8.609 kB / 0.8448 GB, free: 7.43 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.1239, allocations: 143.5 kB / 0.8449 GB, free: 7.258 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.124, allocations: 67.97 kB / 0.845 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.124, allocations: 7.438 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of SimCode: time 9.32e-07/0.124, allocations: 0.625 kB / 0.845 GB, free: 7.164 MB / 474.8 MB Notification: Performance of Templates: time 0.001635/0.1256, allocations: 0.5157 MB / 0.8455 GB, free: 6.668 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.936283931136131]