Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.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.002014/0.002014, allocations: 109.5 kB / 18.95 MB, free: 1.18 MB / 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.001958/0.001958, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.822/1.822, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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 1.429/1.429, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 178] 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.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs") [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.004207/0.004207, allocations: 73.69 kB / 0.7749 GB, free: 14.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1816, allocations: 73.98 MB / 0.8472 GB, free: 4.934 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.002196/0.1838, allocations: 0.6072 MB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.043e-05/0.1839, allocations: 11.92 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.1839, allocations: 4.594 kB / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.1839, allocations: 4.594 kB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.184, allocations: 0 / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.742e-05/0.1841, allocations: 0.625 kB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.1841, allocations: 12.42 kB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.1842, allocations: 8 kB / 0.8478 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.1842, allocations: 4.625 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.1843, allocations: 11.92 kB / 0.8478 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1843, allocations: 4.734 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.1843, allocations: 4 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1843, allocations: 0.5625 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1844, allocations: 12.45 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.777e-05/0.1844, allocations: 4.562 kB / 0.8479 GB, free: 4.262 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1844, allocations: 3.984 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1844, allocations: 0.625 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1844, allocations: 0 / 0.8479 GB, free: 4.258 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005098/0.1849, allocations: 255 kB / 0.8481 GB, free: 3.977 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.185, allocations: 8.531 kB / 0.8481 GB, free: 3.969 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.185, allocations: 5.531 kB / 0.8481 GB, free: 3.965 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1852, allocations: 111.4 kB / 0.8482 GB, free: 3.832 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.1852, allocations: 4.312 kB / 0.8482 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1852, allocations: 4.375 kB / 0.8482 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.1853, allocations: 44.34 kB / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1853, allocations: 192 / 0.8483 GB, free: 3.777 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1853, allocations: 3.938 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1853, allocations: 0 / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.1854, allocations: 8 kB / 0.8483 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1856, allocations: 105.4 kB / 0.8484 GB, free: 3.633 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.186, allocations: 56.27 kB / 0.8484 GB, free: 3.57 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.186, allocations: 12.86 kB / 0.8485 GB, free: 3.555 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.186, allocations: 3.984 kB / 0.8485 GB, free: 3.551 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1861, allocations: 35.84 kB / 0.8485 GB, free: 3.508 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1861, allocations: 0 / 0.8485 GB, free: 3.508 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.1862, allocations: 49.72 kB / 0.8485 GB, free: 3.453 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.1863, allocations: 51.41 kB / 0.8486 GB, free: 3.391 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.1864, allocations: 104.5 kB / 0.8487 GB, free: 3.281 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1864, allocations: 25.7 kB / 0.8487 GB, free: 3.25 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.1865, allocations: 84.12 kB / 0.8488 GB, free: 3.164 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1865, allocations: 11.95 kB / 0.8488 GB, free: 3.152 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.1865, allocations: 13.66 kB / 0.8488 GB, free: 3.133 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1867, allocations: 318.8 kB / 0.8491 GB, free: 2.812 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1867, allocations: 4.781 kB / 0.8491 GB, free: 2.809 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.1867, allocations: 7.922 kB / 0.8491 GB, free: 2.801 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.1868, allocations: 16.86 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1868, allocations: 1.125 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.79e-05/0.1869, allocations: 49.64 kB / 0.8492 GB, free: 2.727 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1869, allocations: 8.562 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1869, allocations: 0 / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1869, allocations: 4.562 kB / 0.8492 GB, free: 2.715 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.647e-05/0.1869, allocations: 7.938 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.187, allocations: 0.5625 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.187, allocations: 0.5938 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.187, allocations: 256 / 0.8492 GB, free: 2.707 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 (3): * Single equations (assignments): 3 * 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 9.756e-05/0.1871, allocations: 114.5 kB / 0.8493 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.1871, allocations: 0.6562 kB / 0.8493 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.1871, allocations: 11.61 kB / 0.8493 GB, free: 2.574 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.1871, allocations: 8.531 kB / 0.8494 GB, free: 2.566 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1871, allocations: 4.719 kB / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1871, allocations: 0 / 0.8494 GB, free: 2.562 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.1872, allocations: 105.9 kB / 0.8495 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1872, allocations: 0 / 0.8495 GB, free: 2.43 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1873, allocations: 4.531 kB / 0.8495 GB, free: 2.426 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.1873, allocations: 0.5625 kB / 0.8495 GB, free: 2.426 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1873, allocations: 3.984 kB / 0.8495 GB, free: 2.422 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1873, allocations: 4.562 kB / 0.8495 GB, free: 2.418 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1873, allocations: 4.656 kB / 0.8495 GB, free: 2.414 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1874, allocations: 77.02 kB / 0.8495 GB, free: 2.32 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.1874, allocations: 0.5625 kB / 0.8495 GB, free: 2.32 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1874, allocations: 4 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.862e-05/0.1874, allocations: 1.938 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.1875, allocations: 3.938 kB / 0.8496 GB, free: 2.312 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1875, allocations: 0 / 0.8496 GB, free: 2.312 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.1875, allocations: 87.27 kB / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of sort global known variables: time 1e-07/0.1875, allocations: 0 / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001801/0.1877, allocations: 6.75 kB / 0.8496 GB, free: 2.223 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 (3): * Single equations (assignments): 3 * 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 0.0001292/0.1878, allocations: 102 kB / 0.8497 GB, free: 2.113 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.406e-05/0.1879, allocations: 12 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1879, allocations: 0 / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.1879, allocations: 16 kB / 0.8498 GB, free: 2.086 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1881, allocations: 8.141 kB / 0.8498 GB, free: 2.082 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.1884, allocations: 114.4 kB / 0.8499 GB, free: 1.945 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.1884, allocations: 59.34 kB / 0.8499 GB, free: 1.867 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.1885, allocations: 1.969 kB / 0.8499 GB, free: 1.867 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.1885, allocations: 15.38 kB / 0.85 GB, free: 1.852 MB / 474.8 MB Notification: Performance of SimCode: time 4.71e-07/0.1885, allocations: 0 / 0.85 GB, free: 1.852 MB / 474.8 MB Notification: Performance of Templates: time 0.002898/0.1914, allocations: 391.4 kB / 0.8503 GB, free: 1.535 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.385078934021294]