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.002053/0.002053, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002087/0.002087, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.767/1.767, allocations: 177.1 MB / 202.8 MB, free: 5.777 MB / 186.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.34/1.34, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.6998 GB, free: 8.605 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.223e-05/5.465e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.002419/0.002473, allocations: 0.6061 MB / 0.7004 GB, free: 7.996 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 8.078e-05/0.002554, allocations: 11.92 kB / 0.7004 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.002607, allocations: 0 / 0.7004 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.002635, allocations: 0 / 0.7004 GB, free: 7.984 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.002676, allocations: 4 kB / 0.7004 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.211e-05/0.002758, allocations: 3.984 kB / 0.7004 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.248e-05/0.002851, allocations: 11.94 kB / 0.7005 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.002925, allocations: 11.98 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.002976, allocations: 4 kB / 0.7005 GB, free: 7.949 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.003053, allocations: 3.984 kB / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.003092, allocations: 0 / 0.7005 GB, free: 7.945 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-06/0.003101, allocations: 4 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.003122, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.003155, allocations: 15.86 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.503e-05/0.00323, allocations: 7.984 kB / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.003234, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003234, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.00324, allocations: 0 / 0.7005 GB, free: 7.918 MB / 410.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.0004445/0.003685, allocations: 258.4 kB / 0.7007 GB, free: 7.633 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.003737, allocations: 8.031 kB / 0.7008 GB, free: 7.625 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.00378, allocations: 8.922 kB / 0.7008 GB, free: 7.617 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.003877, allocations: 105.7 kB / 0.7009 GB, free: 7.488 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.003895, allocations: 384 / 0.7009 GB, free: 7.488 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003907, allocations: 4.375 kB / 0.7009 GB, free: 7.484 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.004036, allocations: 42.19 kB / 0.7009 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.004047, allocations: 192 / 0.7009 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.004057, allocations: 384 / 0.7009 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004063, allocations: 384 / 0.7009 GB, free: 7.438 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.004111, allocations: 19.88 kB / 0.7009 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.004251, allocations: 109.3 kB / 0.701 GB, free: 7.281 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.004614, allocations: 50.66 kB / 0.7011 GB, free: 7.223 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.00464, allocations: 16.94 kB / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.004656, allocations: 0 / 0.7011 GB, free: 7.203 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.004671, allocations: 34.56 kB / 0.7011 GB, free: 7.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.004672, allocations: 0 / 0.7011 GB, free: 7.16 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001435/0.004816, allocations: 49.62 kB / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.004848, allocations: 51.41 kB / 0.7012 GB, free: 7.043 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.004905, allocations: 113.7 kB / 0.7013 GB, free: 6.922 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.004912, allocations: 25.7 kB / 0.7014 GB, free: 6.891 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.574e-05/0.004928, allocations: 84.14 kB / 0.7014 GB, free: 6.805 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.004957, allocations: 11.94 kB / 0.7014 GB, free: 6.793 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.004983, allocations: 9.719 kB / 0.7015 GB, free: 6.777 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.005031, allocations: 318.8 kB / 0.7018 GB, free: 6.457 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.005047, allocations: 4 kB / 0.7018 GB, free: 6.453 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.005068, allocations: 4.172 kB / 0.7018 GB, free: 6.449 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.005107, allocations: 20.84 kB / 0.7018 GB, free: 6.426 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.00511, allocations: 0 / 0.7018 GB, free: 6.426 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.443e-05/0.005164, allocations: 49.59 kB / 0.7018 GB, free: 6.371 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.005182, allocations: 12 kB / 0.7018 GB, free: 6.359 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.005188, allocations: 3.984 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.005204, allocations: 0 / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.005246, allocations: 4 kB / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005252, allocations: 0 / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.005271, allocations: 3.938 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005276, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.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 4.66e-05/0.005322, allocations: 113.8 kB / 0.702 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.005329, allocations: 0 / 0.702 GB, free: 6.227 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.005349, allocations: 7.688 kB / 0.702 GB, free: 6.219 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.00535, allocations: 8 kB / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.005354, allocations: 0 / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.005358, allocations: 7.922 kB / 0.702 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.476e-05/0.005413, allocations: 97.33 kB / 0.7021 GB, free: 6.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005414, allocations: 0 / 0.7021 GB, free: 6.078 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.005444, allocations: 4 kB / 0.7021 GB, free: 6.074 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005445, allocations: 0 / 0.7021 GB, free: 6.074 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.005457, allocations: 11.94 kB / 0.7021 GB, free: 6.062 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005458, allocations: 3.938 kB / 0.7021 GB, free: 6.059 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005459, allocations: 0 / 0.7021 GB, free: 6.059 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.888e-05/0.005527, allocations: 73.27 kB / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.005534, allocations: 7.938 kB / 0.7022 GB, free: 5.961 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.005545, allocations: 11.98 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.005564, allocations: 0 / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.005579, allocations: 0 / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005581, allocations: 3.938 kB / 0.7022 GB, free: 5.945 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.113e-05/0.005602, allocations: 83.28 kB / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.005602, allocations: 0 / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001692/0.005771, allocations: 7.938 kB / 0.7023 GB, free: 5.855 MB / 410.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 8.505e-05/0.005856, allocations: 103.2 kB / 0.7024 GB, free: 5.746 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.005951, allocations: 19.94 kB / 0.7024 GB, free: 5.727 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.005953, allocations: 0 / 0.7024 GB, free: 5.727 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.406e-05/0.005967, allocations: 4 kB / 0.7024 GB, free: 5.723 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.006112, allocations: 12.27 kB / 0.7024 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.006334, allocations: 104.9 kB / 0.7025 GB, free: 5.586 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.006367, allocations: 55.36 kB / 0.7026 GB, free: 5.512 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.006388, allocations: 7.984 kB / 0.7026 GB, free: 5.504 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.006411, allocations: 8.5 kB / 0.7026 GB, free: 5.496 MB / 410.8 MB Notification: Performance of SimCode: time 4.2e-07/0.006412, allocations: 4 kB / 0.7026 GB, free: 5.492 MB / 410.8 MB Notification: Performance of Templates: time 0.002721/0.009133, allocations: 396.3 kB / 0.703 GB, free: 5.16 MB / 410.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: 6.533965141978115]