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.001222/0.001222, 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.0009618/0.0009618, allocations: 215.5 kB / 23 MB, free: 2.961 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.9452/0.9452, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.7468/0.7468, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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: 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.002173/0.002173, allocations: 81.64 kB / 0.7698 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1265, allocations: 73.98 MB / 0.8421 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.001568/0.128, allocations: 0.6125 MB / 0.8427 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.607e-05/0.1281, allocations: 11.92 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.1281, allocations: 0.5 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1281, allocations: 0.6875 kB / 0.8427 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.539e-05/0.1281, allocations: 3.938 kB / 0.8427 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.051e-05/0.1282, allocations: 5.031 kB / 0.8427 GB, free: 9.238 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.1283, allocations: 15.92 kB / 0.8427 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1283, allocations: 0.5938 kB / 0.8427 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1283, allocations: 8 kB / 0.8427 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.1284, allocations: 8.547 kB / 0.8427 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1284, allocations: 0 / 0.8427 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-06/0.1284, allocations: 4.625 kB / 0.8427 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1284, allocations: 0.5 kB / 0.8427 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.1284, allocations: 11.92 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.158e-05/0.1285, allocations: 12.48 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1285, allocations: 0.5 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1285, allocations: 0.625 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1285, allocations: 0 / 0.8428 GB, free: 9.18 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.0003381/0.1288, allocations: 254.9 kB / 0.843 GB, free: 8.898 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1289, allocations: 8.656 kB / 0.843 GB, free: 8.891 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.1289, allocations: 5.562 kB / 0.843 GB, free: 8.887 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.129, allocations: 118.4 kB / 0.8431 GB, free: 8.746 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.129, allocations: 5.062 kB / 0.8431 GB, free: 8.742 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.129, allocations: 384 / 0.8431 GB, free: 8.742 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.52e-05/0.1291, allocations: 34.89 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1291, allocations: 4.172 kB / 0.8432 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1291, allocations: 4.531 kB / 0.8432 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1291, allocations: 0.7812 kB / 0.8432 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.1292, allocations: 8 kB / 0.8432 GB, free: 8.688 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.1293, allocations: 109.8 kB / 0.8433 GB, free: 8.551 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.1296, allocations: 55.34 kB / 0.8434 GB, free: 8.488 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.1296, allocations: 17.59 kB / 0.8434 GB, free: 8.469 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1296, allocations: 4 kB / 0.8434 GB, free: 8.465 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.1296, allocations: 31.19 kB / 0.8434 GB, free: 8.426 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1296, allocations: 0 / 0.8434 GB, free: 8.426 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001297/0.1297, allocations: 54.19 kB / 0.8435 GB, free: 8.367 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.1298, allocations: 56 kB / 0.8435 GB, free: 8.301 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.1298, allocations: 97.86 kB / 0.8436 GB, free: 8.195 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.1298, allocations: 26.2 kB / 0.8436 GB, free: 8.164 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.1299, allocations: 84.64 kB / 0.8437 GB, free: 8.078 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1299, allocations: 11.94 kB / 0.8437 GB, free: 8.066 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.1299, allocations: 14.44 kB / 0.8437 GB, free: 8.047 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000317/0.1302, allocations: 314.8 kB / 0.844 GB, free: 7.73 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.1302, allocations: 4.688 kB / 0.844 GB, free: 7.727 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.1303, allocations: 4.844 kB / 0.844 GB, free: 7.723 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.459e-05/0.1303, allocations: 16.84 kB / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1303, allocations: 8.625 kB / 0.8441 GB, free: 7.695 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.403e-05/0.1304, allocations: 45.59 kB / 0.8441 GB, free: 7.645 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1304, allocations: 8.594 kB / 0.8441 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1304, allocations: 8.547 kB / 0.8441 GB, free: 7.629 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1304, allocations: 3.938 kB / 0.8441 GB, free: 7.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.423e-05/0.1304, allocations: 4.594 kB / 0.8441 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1304, allocations: 0.5312 kB / 0.8441 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.1304, allocations: 0 / 0.8441 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1304, allocations: 4.594 kB / 0.8441 GB, free: 7.617 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 5.304e-05/0.1305, allocations: 111 kB / 0.8442 GB, free: 7.5 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-06/0.1305, allocations: 0.5 kB / 0.8442 GB, free: 7.5 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.1305, allocations: 7.688 kB / 0.8443 GB, free: 7.492 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1305, allocations: 4.562 kB / 0.8443 GB, free: 7.488 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1305, allocations: 0.5938 kB / 0.8443 GB, free: 7.488 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1305, allocations: 3.984 kB / 0.8443 GB, free: 7.484 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.957e-05/0.1306, allocations: 101.8 kB / 0.8444 GB, free: 7.355 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1306, allocations: 0.5625 kB / 0.8444 GB, free: 7.355 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.1306, allocations: 4 kB / 0.8444 GB, free: 7.352 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1306, allocations: 4.625 kB / 0.8444 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1306, allocations: 0.5 kB / 0.8444 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.1306, allocations: 0 / 0.8444 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1306, allocations: 4.625 kB / 0.8444 GB, free: 7.344 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.24e-05/0.1307, allocations: 77.34 kB / 0.8444 GB, free: 7.25 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.1307, allocations: 8.531 kB / 0.8445 GB, free: 7.242 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1307, allocations: 4.484 kB / 0.8445 GB, free: 7.238 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-06/0.1307, allocations: 3.938 kB / 0.8445 GB, free: 7.234 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.1307, allocations: 8.594 kB / 0.8445 GB, free: 7.227 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.1307, allocations: 0.5938 kB / 0.8445 GB, free: 7.227 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.686e-05/0.1308, allocations: 87.28 kB / 0.8446 GB, free: 7.141 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1308, allocations: 0.5 kB / 0.8446 GB, free: 7.141 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001718/0.1309, allocations: 0.5938 kB / 0.8446 GB, free: 7.141 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 8.359e-05/0.131, allocations: 103.9 kB / 0.8447 GB, free: 7.027 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.386e-05/0.1311, allocations: 16.44 kB / 0.8447 GB, free: 7.012 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1311, allocations: 0.625 kB / 0.8447 GB, free: 7.012 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.1311, allocations: 8 kB / 0.8447 GB, free: 7.004 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1312, allocations: 5.703 kB / 0.8447 GB, free: 7 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.1315, allocations: 135.3 kB / 0.8448 GB, free: 6.836 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.1315, allocations: 59.92 kB / 0.8449 GB, free: 6.758 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.1315, allocations: 12.22 kB / 0.8449 GB, free: 6.746 MB / 474.8 MB Notification: Performance of SimCode: time 7.01e-07/0.1315, allocations: 0 / 0.8449 GB, free: 6.746 MB / 474.8 MB Notification: Performance of Templates: time 0.001475/0.133, allocations: 0.4952 MB / 0.8454 GB, free: 6.27 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 > 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.653978352434933]