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.0006413/0.0006413, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000801/0.001442, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006635/0.0006635, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008017/0.001465, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09086/1.135, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.7806/0.7806, allocations: 291.2 MB / 0.5226 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03294/0.8136, allocations: 21.05 MB / 0.5431 GB, free: 31.97 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 2.895e-06/2.895e-06, allocations: 4 kB / 0.5445 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.643e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.001559/0.001575, allocations: 0.6629 MB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.153e-05/0.001607, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.001625, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-06/0.00163, allocations: 3.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.839e-06/0.00164, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.682e-05/0.001667, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.001718, allocations: 19.92 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.001756, allocations: 3.125 kB / 0.5452 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.001806, allocations: 19.92 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.00186, allocations: 0 / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.001886, allocations: 4 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-06/0.001891, allocations: 0 / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.001903, allocations: 0 / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.001927, allocations: 7.938 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.044e-05/0.001987, allocations: 11.97 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.002002, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002003, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.00202, allocations: 4 kB / 0.5452 GB, free: 29.88 MB / 410.7 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.0003058/0.002326, allocations: 235 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.002362, allocations: 15.83 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/0.002385, allocations: 4.938 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.849e-05/0.002454, allocations: 113.7 kB / 0.5456 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.002464, allocations: 384 / 0.5456 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.291e-06/0.00247, allocations: 384 / 0.5456 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.113e-05/0.002532, allocations: 30.27 kB / 0.5456 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.002538, allocations: 192 / 0.5456 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.002545, allocations: 4.359 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.00255, allocations: 4.375 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.002577, allocations: 15.92 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.994e-05/0.002657, allocations: 61.03 kB / 0.5457 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.002923, allocations: 54.53 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.002941, allocations: 8.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.002949, allocations: 0 / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.002965, allocations: 30.56 kB / 0.5458 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.002965, allocations: 0 / 0.5458 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001017/0.003067, allocations: 53.66 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.003091, allocations: 55.41 kB / 0.5459 GB, free: 29.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.474e-05/0.003136, allocations: 106.7 kB / 0.546 GB, free: 28.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.003145, allocations: 29.7 kB / 0.546 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.113e-05/0.003156, allocations: 80.14 kB / 0.5461 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.003183, allocations: 3.953 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.003216, allocations: 17.72 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.003266, allocations: 322.8 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.003276, allocations: 4 kB / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.003287, allocations: 4 kB / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.003313, allocations: 12.84 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.003316, allocations: 3.125 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.242e-05/0.003368, allocations: 41.64 kB / 0.5465 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.003382, allocations: 8 kB / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.003389, allocations: 0 / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.003396, allocations: 0 / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.003441, allocations: 7.984 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.003444, allocations: 0 / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.003456, allocations: 3.938 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.003459, allocations: 4 kB / 0.5465 GB, free: 28.42 MB / 410.7 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.824e-05/0.003498, allocations: 109.8 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.003503, allocations: 0 / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.003522, allocations: 15.69 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.003524, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003525, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.003528, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.634e-05/0.003574, allocations: 73.83 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.003574, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.003586, allocations: 4 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.003591, allocations: 4.281 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003592, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.003596, allocations: 0 / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.003597, allocations: 7.938 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.0036, allocations: 6.656 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.111e-05/0.003661, allocations: 73.03 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.003668, allocations: 7.984 kB / 0.5468 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.003675, allocations: 3.938 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.003686, allocations: 0 / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.003689, allocations: 3.438 kB / 0.5468 GB, free: 28.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.845e-06/0.003696, allocations: 8.859 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003697, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.815e-05/0.003785, allocations: 4 kB / 0.5468 GB, free: 28.07 MB / 410.7 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 6.487e-05/0.00385, allocations: 92.41 kB / 0.5469 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.211e-05/0.003912, allocations: 16.8 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.003916, allocations: 0 / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.003923, allocations: 8.859 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.304e-05/0.003986, allocations: 9.906 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.004142, allocations: 112.5 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.756e-05/0.004159, allocations: 55.36 kB / 0.5471 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.55e-05/0.004175, allocations: 0 / 0.5471 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.004197, allocations: 51.38 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.004197, allocations: 4 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.001702/0.005899, allocations: 447.6 kB / 0.5475 GB, free: 27.23 MB / 410.7 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: 3.2504808511584997]