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.0008926/0.0008926, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001871/0.002764, allocations: 435.8 kB / 10.31 MB, free: 384 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.001239/0.001239, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002646, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.065/1.065, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09785/1.163, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7851/0.7851, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03114/0.8162, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.472e-06/1.472e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.361e-05, allocations: 2.312 kB / 0.5444 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.0008702/0.0008839, allocations: 0.6597 MB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.173e-05/0.0009056, allocations: 7.922 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.0009198, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.02e-06/0.0009248, allocations: 3.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.0009328, allocations: 8 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.484e-05/0.0009576, allocations: 3.984 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.277e-05/0.001, allocations: 15.92 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.001038, allocations: 4 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.001084, allocations: 15.92 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.00113, allocations: 7.984 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.001148, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-06/0.001152, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.001162, allocations: 4 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.001184, allocations: 3.938 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.026e-05/0.001234, allocations: 8 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.001247, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.01e-07/0.001248, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.001258, allocations: 0 / 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.0002711/0.001529, allocations: 235 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.001557, allocations: 15.89 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.001579, allocations: 11.92 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.977e-05/0.001638, allocations: 109.8 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.00165, allocations: 4.375 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.001656, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.001716, allocations: 38.25 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.001724, allocations: 192 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.001729, allocations: 384 / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.001734, allocations: 4.375 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.462e-05/0.001749, allocations: 3.938 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.882e-05/0.001817, allocations: 65.03 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.002036, allocations: 54.53 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.002049, allocations: 8.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.002056, allocations: 0 / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.002073, allocations: 46.58 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.002074, allocations: 0 / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.876e-05/0.002162, allocations: 37.64 kB / 0.5458 GB, free: 29.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.002189, allocations: 55.39 kB / 0.5458 GB, free: 29.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.516e-05/0.002224, allocations: 106.7 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-06/0.002229, allocations: 29.7 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-06/0.002237, allocations: 80.14 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.00226, allocations: 11.94 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.002283, allocations: 13.7 kB / 0.546 GB, free: 28.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.447e-05/0.002318, allocations: 318.8 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.002324, allocations: 0 / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.002331, allocations: 8 kB / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.002351, allocations: 12.84 kB / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.002353, allocations: 0 / 0.5464 GB, free: 28.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.108e-05/0.002385, allocations: 49.62 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.002395, allocations: 4 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.002399, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.002409, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-05/0.002439, allocations: 4 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.002441, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.002451, allocations: 7.25 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.002453, allocations: 0 / 0.5464 GB, free: 28.43 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.604e-05/0.002489, allocations: 121.7 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-06/0.002494, allocations: 4 kB / 0.5465 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.002514, allocations: 11.67 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.002515, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.002516, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.002519, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.575e-05/0.002565, allocations: 69.84 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.002565, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.002577, allocations: 4 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.002582, allocations: 3.953 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.002583, allocations: 11.98 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-06/0.002586, allocations: 0 / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.002587, allocations: 2.734 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.002588, allocations: 3.938 kB / 0.5467 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.934e-05/0.002628, allocations: 69.33 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.002635, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-06/0.002641, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.002652, allocations: 4.031 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.002653, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.125e-06/0.002662, allocations: 8.859 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002662, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.647e-05/0.002748, allocations: 11.98 kB / 0.5467 GB, free: 28.06 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 5.325e-05/0.002801, allocations: 84.41 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.164e-05/0.002853, allocations: 16.8 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.002855, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-06/0.002863, allocations: 16.84 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 5.528e-05/0.002918, allocations: 13.84 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.003071, allocations: 108.5 kB / 0.547 GB, free: 27.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.531e-05/0.003086, allocations: 55.36 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.003102, allocations: 7.984 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.003127, allocations: 51.38 kB / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.003128, allocations: 0 / 0.5471 GB, free: 27.65 MB / 410.7 MB Notification: Performance of Templates: time 0.001606/0.004734, allocations: 445.9 kB / 0.5475 GB, free: 27.22 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.275642472319305]