Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.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.001872/0.001872, allocations: 105.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.001938/0.001938, allocations: 215.5 kB / 22.25 MB, free: 3.57 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.602 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.447/1.447, allocations: 316.7 MB / 0.6144 GB, free: 93.34 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.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas") [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.004463/0.004463, allocations: 81.86 kB / 0.7749 GB, free: 14.9 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1823, allocations: 73.99 MB / 0.8472 GB, free: 5.051 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas): time 0.002231/0.1845, allocations: 0.6301 MB / 0.8478 GB, free: 4.434 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.415e-05/0.1846, allocations: 3.938 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.1846, allocations: 0.5938 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.1846, allocations: 0.5938 kB / 0.8478 GB, free: 4.43 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 5.66e-05/0.1847, allocations: 3.938 kB / 0.8478 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.343e-05/0.1848, allocations: 8.516 kB / 0.8478 GB, free: 4.418 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.022e-05/0.1848, allocations: 20.58 kB / 0.8478 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.798e-05/0.1849, allocations: 7.984 kB / 0.8479 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.1849, allocations: 4.594 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.185, allocations: 12.42 kB / 0.8479 GB, free: 4.375 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.185, allocations: 0 / 0.8479 GB, free: 4.375 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.185, allocations: 4.625 kB / 0.8479 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.185, allocations: 0.625 kB / 0.8479 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.1851, allocations: 7.938 kB / 0.8479 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.614e-05/0.1851, allocations: 13.17 kB / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1851, allocations: 0 / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1851, allocations: 0 / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1852, allocations: 0 / 0.8479 GB, free: 4.352 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.0008349/0.186, allocations: 259.4 kB / 0.8481 GB, free: 4.066 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.186, allocations: 12.02 kB / 0.8482 GB, free: 4.055 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1861, allocations: 6.938 kB / 0.8482 GB, free: 4.051 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1862, allocations: 118.4 kB / 0.8483 GB, free: 3.91 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1862, allocations: 4.375 kB / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1862, allocations: 384 / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1864, allocations: 42.25 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1864, allocations: 2.656 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1864, allocations: 3.938 kB / 0.8483 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1864, allocations: 0 / 0.8483 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.177e-05/0.1864, allocations: 12 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.1866, allocations: 105.4 kB / 0.8484 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1869, allocations: 50.56 kB / 0.8485 GB, free: 3.652 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.1869, allocations: 15.42 kB / 0.8485 GB, free: 3.637 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.1869, allocations: 4 kB / 0.8485 GB, free: 3.633 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1869, allocations: 30.56 kB / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.187, allocations: 0 / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001822/0.1871, allocations: 65.59 kB / 0.8486 GB, free: 3.523 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1872, allocations: 55.41 kB / 0.8487 GB, free: 3.457 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1873, allocations: 101.8 kB / 0.8487 GB, free: 3.348 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1873, allocations: 26.67 kB / 0.8488 GB, free: 3.316 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.1874, allocations: 84.14 kB / 0.8489 GB, free: 3.23 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1874, allocations: 12.84 kB / 0.8489 GB, free: 3.219 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1874, allocations: 17.7 kB / 0.8489 GB, free: 3.195 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1876, allocations: 314.8 kB / 0.8492 GB, free: 2.879 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.1876, allocations: 4.625 kB / 0.8492 GB, free: 2.875 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.1877, allocations: 4 kB / 0.8492 GB, free: 2.871 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.93e-05/0.1877, allocations: 29.38 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1877, allocations: 0.625 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.21e-05/0.1878, allocations: 45.64 kB / 0.8493 GB, free: 2.789 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1878, allocations: 12.5 kB / 0.8493 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1878, allocations: 0.5938 kB / 0.8493 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1879, allocations: 7.922 kB / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.256e-05/0.1879, allocations: 4.5 kB / 0.8493 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1879, allocations: 0.5938 kB / 0.8493 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.1879, allocations: 12.52 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.188, allocations: 0 / 0.8493 GB, free: 2.754 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 0.0001141/0.1881, allocations: 110.4 kB / 0.8494 GB, free: 2.637 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.1881, allocations: 4.688 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.1881, allocations: 3.688 kB / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1881, allocations: 4.562 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1881, allocations: 0.625 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1881, allocations: 0 / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1882, allocations: 109.9 kB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1882, allocations: 0 / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.1883, allocations: 4.562 kB / 0.8495 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1883, allocations: 0.9062 kB / 0.8495 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1883, allocations: 8 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1883, allocations: 4.594 kB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1883, allocations: 3.938 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1884, allocations: 78.03 kB / 0.8496 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.1884, allocations: 4.031 kB / 0.8496 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1884, allocations: 16.55 kB / 0.8496 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.1885, allocations: 0.5938 kB / 0.8496 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.1885, allocations: 3.938 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.1885, allocations: 0.5938 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.1885, allocations: 83.89 kB / 0.8497 GB, free: 2.27 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1885, allocations: 0 / 0.8497 GB, free: 2.27 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001734/0.1887, allocations: 8.688 kB / 0.8497 GB, free: 2.262 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 0.0001486/0.1889, allocations: 99.88 kB / 0.8498 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.189, allocations: 20.53 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.189, allocations: 0 / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.189, allocations: 12.61 kB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.1891, allocations: 1.656 kB / 0.8499 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.1895, allocations: 119.9 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.1896, allocations: 59.94 kB / 0.85 GB, free: 1.902 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.105e-05/0.1896, allocations: 4.594 kB / 0.85 GB, free: 1.898 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.1896, allocations: 7.438 kB / 0.85 GB, free: 1.891 MB / 474.8 MB Notification: Performance of SimCode: time 4.6e-07/0.1896, allocations: 0.5 kB / 0.85 GB, free: 1.891 MB / 474.8 MB Notification: Performance of Templates: time 0.003088/0.1927, allocations: 415.5 kB / 0.8504 GB, free: 1.547 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.543896702118218]