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.0009248/0.0009248, 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.001003/0.001003, allocations: 213.3 kB / 23.01 MB, free: 2.938 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.9764/0.9764, 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.7474/0.7474, allocations: 312.3 MB / 0.6108 GB, free: 97.09 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.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.002145/0.002145, allocations: 73.72 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1554, allocations: 74 MB / 0.8421 GB, free: 9.859 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas): time 0.001559/0.157, allocations: 0.6221 MB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.103e-05/0.1571, allocations: 4.625 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.1571, allocations: 0.5 kB / 0.8427 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1571, allocations: 3.938 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.1572, allocations: 8.5 kB / 0.8428 GB, free: 9.238 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.996e-05/0.1572, allocations: 8.609 kB / 0.8428 GB, free: 9.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.1573, allocations: 7.984 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.881e-05/0.1573, allocations: 4.531 kB / 0.8428 GB, free: 9.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.9e-05/0.1574, allocations: 12.56 kB / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.1574, allocations: 11.91 kB / 0.8428 GB, free: 9.195 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1574, allocations: 4.562 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.1574, allocations: 0.5938 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1575, allocations: 3.938 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.1575, allocations: 8.625 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.065e-05/0.1575, allocations: 8.547 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1575, allocations: 0 / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1576, allocations: 0.625 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1576, allocations: 4 kB / 0.8428 GB, free: 9.168 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.0003553/0.1579, allocations: 263.3 kB / 0.8431 GB, free: 8.879 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.158, allocations: 12.03 kB / 0.8431 GB, free: 8.867 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.158, allocations: 1.531 kB / 0.8431 GB, free: 8.867 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.948e-05/0.1581, allocations: 110.5 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1581, allocations: 0.9688 kB / 0.8432 GB, free: 8.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.1581, allocations: 5.094 kB / 0.8432 GB, free: 8.73 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.1582, allocations: 38.25 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1582, allocations: 0.9062 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1582, allocations: 3.938 kB / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1582, allocations: 0.5938 kB / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.1583, allocations: 19.92 kB / 0.8433 GB, free: 8.664 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.1584, allocations: 106 kB / 0.8434 GB, free: 8.531 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1586, allocations: 47.08 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.1586, allocations: 17.48 kB / 0.8434 GB, free: 8.457 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1586, allocations: 0.5938 kB / 0.8434 GB, free: 8.457 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.1586, allocations: 30.56 kB / 0.8435 GB, free: 8.418 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1586, allocations: 0.625 kB / 0.8435 GB, free: 8.418 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.1588, allocations: 66.16 kB / 0.8435 GB, free: 8.348 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.1588, allocations: 51.41 kB / 0.8436 GB, free: 8.285 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.1589, allocations: 110.5 kB / 0.8437 GB, free: 8.168 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.1589, allocations: 25.7 kB / 0.8437 GB, free: 8.137 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.1589, allocations: 80.77 kB / 0.8438 GB, free: 8.055 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1589, allocations: 20.33 kB / 0.8438 GB, free: 8.035 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.1589, allocations: 17.7 kB / 0.8438 GB, free: 8.012 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.159, allocations: 319.5 kB / 0.8441 GB, free: 7.691 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.159, allocations: 4.625 kB / 0.8441 GB, free: 7.688 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.159, allocations: 4 kB / 0.8441 GB, free: 7.684 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.1591, allocations: 29.41 kB / 0.8442 GB, free: 7.652 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1591, allocations: 0 / 0.8442 GB, free: 7.652 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.303e-05/0.1591, allocations: 46.39 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1592, allocations: 7.125 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1592, allocations: 3.984 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1592, allocations: 4.625 kB / 0.8442 GB, free: 7.59 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1592, allocations: 8 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1592, allocations: 0.6875 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.1592, allocations: 3.953 kB / 0.8442 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1592, allocations: 0.625 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.421e-05/0.1593, allocations: 114.6 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-06/0.1593, allocations: 0 / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.62e-05/0.1593, allocations: 4.281 kB / 0.8443 GB, free: 7.453 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1593, allocations: 8.562 kB / 0.8444 GB, free: 7.445 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1593, allocations: 0 / 0.8444 GB, free: 7.445 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1593, allocations: 12.48 kB / 0.8444 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.72e-05/0.1594, allocations: 101.3 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.1594, allocations: 0.5625 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.1594, allocations: 8.625 kB / 0.8445 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1594, allocations: 0 / 0.8445 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1594, allocations: 8.562 kB / 0.8445 GB, free: 7.289 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.1594, allocations: 0 / 0.8445 GB, free: 7.289 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1594, allocations: 4.625 kB / 0.8445 GB, free: 7.285 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/0.1595, allocations: 77.39 kB / 0.8446 GB, free: 7.191 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-06/0.1595, allocations: 8.594 kB / 0.8446 GB, free: 7.184 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-06/0.1595, allocations: 4.594 kB / 0.8446 GB, free: 7.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-06/0.1595, allocations: 0 / 0.8446 GB, free: 7.18 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.889e-05/0.1595, allocations: 4.938 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1595, allocations: 4 kB / 0.8446 GB, free: 7.172 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.1596, allocations: 87.86 kB / 0.8447 GB, free: 7.086 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1596, allocations: 4.625 kB / 0.8447 GB, free: 7.082 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001079/0.1597, allocations: 8 kB / 0.8447 GB, free: 7.074 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.686e-05/0.1598, allocations: 95.97 kB / 0.8448 GB, free: 6.969 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.16, allocations: 20.61 kB / 0.8448 GB, free: 6.949 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.16, allocations: 0.625 kB / 0.8448 GB, free: 6.949 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.16, allocations: 8 kB / 0.8448 GB, free: 6.941 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.1601, allocations: 2.469 kB / 0.8448 GB, free: 6.941 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.1603, allocations: 151.1 kB / 0.8449 GB, free: 6.762 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.1604, allocations: 63.97 kB / 0.845 GB, free: 6.68 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.1604, allocations: 8.125 kB / 0.845 GB, free: 6.672 MB / 474.8 MB Notification: Performance of SimCode: time 5.61e-07/0.1604, allocations: 0.625 kB / 0.845 GB, free: 6.672 MB / 474.8 MB Notification: Performance of Templates: time 0.001441/0.1618, allocations: 0.5217 MB / 0.8455 GB, free: 6.168 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AE01_Buprenorphine.Buprenorphine_Walsh2024_PD_vas.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.924710330553353]