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.0009299/0.0009299, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0008804/0.0008804, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.6921/0.6921, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.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 1.362e-06/1.362e-06, allocations: 0 / 0.6973 GB, free: 10.47 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.811e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.00119/0.001218, allocations: 0.6113 MB / 0.6979 GB, free: 9.855 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.469e-05/0.001263, allocations: 4 kB / 0.6979 GB, free: 9.852 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.936e-05/0.001292, allocations: 0 / 0.6979 GB, free: 9.852 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.001308, allocations: 3.938 kB / 0.6979 GB, free: 9.848 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.001338, allocations: 7.938 kB / 0.6979 GB, free: 9.84 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.084e-05/0.001399, allocations: 3.984 kB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.978e-05/0.001458, allocations: 12 kB / 0.6979 GB, free: 9.824 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.001515, allocations: 3.984 kB / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.001556, allocations: 11.92 kB / 0.6979 GB, free: 9.809 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.001613, allocations: 3.984 kB / 0.6979 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.001641, allocations: 4 kB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-06/0.001645, allocations: 0 / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.00166, allocations: 4 kB / 0.6979 GB, free: 9.797 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.00168, allocations: 4 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.787e-05/0.001738, allocations: 11.92 kB / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.001739, allocations: 0 / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.21e-07/0.00174, allocations: 0 / 0.698 GB, free: 9.781 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.001745, allocations: 0 / 0.698 GB, free: 9.781 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.0003275/0.002072, allocations: 258.3 kB / 0.6982 GB, free: 9.496 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.002119, allocations: 16.02 kB / 0.6982 GB, free: 9.48 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.002149, allocations: 0.9375 kB / 0.6982 GB, free: 9.48 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.707e-05/0.002206, allocations: 109.7 kB / 0.6983 GB, free: 9.348 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002218, allocations: 4.375 kB / 0.6983 GB, free: 9.344 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.002226, allocations: 4.359 kB / 0.6983 GB, free: 9.34 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.00231, allocations: 38.25 kB / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.002318, allocations: 192 / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.002327, allocations: 384 / 0.6984 GB, free: 9.297 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.002331, allocations: 4.375 kB / 0.6984 GB, free: 9.293 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.002372, allocations: 11.94 kB / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.002474, allocations: 109.3 kB / 0.6985 GB, free: 9.145 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.00272, allocations: 54.56 kB / 0.6985 GB, free: 9.082 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.00274, allocations: 8.938 kB / 0.6986 GB, free: 9.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.00275, allocations: 4 kB / 0.6986 GB, free: 9.066 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.002761, allocations: 30.56 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.002762, allocations: 4 kB / 0.6986 GB, free: 9.023 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001171/0.002879, allocations: 53.62 kB / 0.6986 GB, free: 8.965 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.002899, allocations: 55.41 kB / 0.6987 GB, free: 8.898 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.924e-05/0.002938, allocations: 101.8 kB / 0.6988 GB, free: 8.789 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.002944, allocations: 29.7 kB / 0.6988 GB, free: 8.754 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.339e-05/0.002958, allocations: 88.08 kB / 0.6989 GB, free: 8.664 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.00298, allocations: 11.92 kB / 0.6989 GB, free: 8.652 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.002999, allocations: 17.72 kB / 0.6989 GB, free: 8.629 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.786e-05/0.003027, allocations: 310.8 kB / 0.6992 GB, free: 8.316 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.003039, allocations: 4 kB / 0.6992 GB, free: 8.312 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.003048, allocations: 15.98 kB / 0.6993 GB, free: 8.297 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.003074, allocations: 16.86 kB / 0.6993 GB, free: 8.277 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003076, allocations: 0 / 0.6993 GB, free: 8.277 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.451e-05/0.00311, allocations: 53.53 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003122, allocations: 7.984 kB / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003126, allocations: 0 / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.003139, allocations: 0 / 0.6993 GB, free: 8.211 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-05/0.003168, allocations: 4 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.003173, allocations: 0 / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.003185, allocations: 7.875 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.00319, allocations: 4 kB / 0.6993 GB, free: 8.195 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 3.637e-05/0.003226, allocations: 109.8 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.00323, allocations: 4 kB / 0.6994 GB, free: 8.074 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.003266, allocations: 8.016 kB / 0.6995 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.003268, allocations: 0 / 0.6995 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.003272, allocations: 0 / 0.6995 GB, free: 8.066 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.003276, allocations: 11.91 kB / 0.6995 GB, free: 8.055 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.72e-05/0.003323, allocations: 101.3 kB / 0.6996 GB, free: 7.926 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.003325, allocations: 4 kB / 0.6996 GB, free: 7.922 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.003352, allocations: 4 kB / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.003354, allocations: 0 / 0.6996 GB, free: 7.918 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.00336, allocations: 4 kB / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.003361, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.003362, allocations: 0 / 0.6996 GB, free: 7.914 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.076e-05/0.003422, allocations: 76.95 kB / 0.6996 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.003428, allocations: 7.984 kB / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.003437, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.003445, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.003458, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.00346, allocations: 4 kB / 0.6997 GB, free: 7.809 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.586e-05/0.003476, allocations: 87.53 kB / 0.6997 GB, free: 7.723 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003476, allocations: 0 / 0.6997 GB, free: 7.723 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001094/0.003585, allocations: 7.938 kB / 0.6998 GB, free: 7.715 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 5.797e-05/0.003643, allocations: 103.2 kB / 0.6999 GB, free: 7.605 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.657e-05/0.00371, allocations: 15.94 kB / 0.6999 GB, free: 7.59 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.003711, allocations: 0 / 0.6999 GB, free: 7.59 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.003719, allocations: 8 kB / 0.6999 GB, free: 7.582 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.003823, allocations: 12.58 kB / 0.6999 GB, free: 7.57 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000181/0.004004, allocations: 134.5 kB / 0.7 GB, free: 7.406 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.004032, allocations: 63.3 kB / 0.7001 GB, free: 7.324 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.004054, allocations: 12.5 kB / 0.7001 GB, free: 7.312 MB / 410.8 MB Notification: Performance of SimCode: time 3.5e-07/0.004054, allocations: 0 / 0.7001 GB, free: 7.312 MB / 410.8 MB Notification: Performance of Templates: time 0.001212/0.005266, allocations: 0.5011 MB / 0.7006 GB, free: 6.816 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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.174754433333874]