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.001102/0.001102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001707/0.002809, allocations: 440 kB / 10.41 MB, free: 284 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.001139/0.001139, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002463/0.003602, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.09/1.09, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09459/1.184, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7731/0.7731, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03314/0.8063, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.344e-06/2.344e-06, allocations: 0 / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.357e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.001481/0.001495, allocations: 0.6752 MB / 0.5453 GB, free: 29.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.091e-05/0.001526, allocations: 11.94 kB / 0.5453 GB, free: 29.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.001545, allocations: 4 kB / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.581e-06/0.00155, allocations: 3.938 kB / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.077e-05/0.001561, allocations: 0 / 0.5453 GB, free: 29.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.021e-05/0.001591, allocations: 3.984 kB / 0.5453 GB, free: 29.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.001646, allocations: 11.94 kB / 0.5453 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.001687, allocations: 0 / 0.5453 GB, free: 29.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.787e-05/0.001745, allocations: 19.97 kB / 0.5453 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.001805, allocations: 3.984 kB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.001828, allocations: 0 / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.001836, allocations: 4 kB / 0.5454 GB, free: 29.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.001856, allocations: 7.938 kB / 0.5454 GB, free: 29.37 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.001878, allocations: 4 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.001954, allocations: 4 kB / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.001967, allocations: 0 / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001967, allocations: 0 / 0.5454 GB, free: 29.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.001977, allocations: 0 / 0.5454 GB, free: 29.36 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.0003492/0.002326, allocations: 243 kB / 0.5456 GB, free: 29.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.002369, allocations: 11.89 kB / 0.5456 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.002398, allocations: 0.9375 kB / 0.5456 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/0.002487, allocations: 117.7 kB / 0.5457 GB, free: 28.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.002498, allocations: 4.375 kB / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.002509, allocations: 4.375 kB / 0.5457 GB, free: 28.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.182e-05/0.00259, allocations: 34.25 kB / 0.5458 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.002599, allocations: 192 / 0.5458 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.002606, allocations: 384 / 0.5458 GB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.002614, allocations: 4.359 kB / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.002637, allocations: 7.938 kB / 0.5458 GB, free: 28.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.916e-05/0.002736, allocations: 64.3 kB / 0.5458 GB, free: 28.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.003036, allocations: 54.53 kB / 0.5459 GB, free: 28.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.003054, allocations: 12.94 kB / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.003061, allocations: 4 kB / 0.5459 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.00308, allocations: 30.56 kB / 0.5459 GB, free: 28.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.003081, allocations: 0 / 0.5459 GB, free: 28.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.984e-05/0.00318, allocations: 45.62 kB / 0.546 GB, free: 28.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.003204, allocations: 55.41 kB / 0.546 GB, free: 28.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.003248, allocations: 102.7 kB / 0.5461 GB, free: 28.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.003256, allocations: 25.7 kB / 0.5462 GB, free: 28.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.254e-05/0.003269, allocations: 84.14 kB / 0.5462 GB, free: 28.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.003295, allocations: 7.938 kB / 0.5462 GB, free: 28.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.003321, allocations: 13.72 kB / 0.5463 GB, free: 28.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.003365, allocations: 326.8 kB / 0.5466 GB, free: 27.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.003373, allocations: 4 kB / 0.5466 GB, free: 27.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.003382, allocations: 0 / 0.5466 GB, free: 27.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.003408, allocations: 16.84 kB / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.00341, allocations: 0 / 0.5466 GB, free: 27.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.956e-05/0.00346, allocations: 41.62 kB / 0.5466 GB, free: 27.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.003472, allocations: 4 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.003477, allocations: 0 / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.003491, allocations: 4 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.619e-05/0.003527, allocations: 4 kB / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.00353, allocations: 0 / 0.5466 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.003545, allocations: 7.938 kB / 0.5467 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.003549, allocations: 3.938 kB / 0.5467 GB, free: 27.89 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 4.365e-05/0.003593, allocations: 113.8 kB / 0.5468 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.0036, allocations: 3.984 kB / 0.5468 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.003623, allocations: 7.688 kB / 0.5468 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.003625, allocations: 4 kB / 0.5468 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.003627, allocations: 0 / 0.5468 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.003631, allocations: 0 / 0.5468 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.751e-05/0.003688, allocations: 69.83 kB / 0.5468 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.00369, allocations: 0 / 0.5468 GB, free: 27.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.003709, allocations: 11.12 kB / 0.5469 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.003722, allocations: 11.94 kB / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.003723, allocations: 0 / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.003728, allocations: 336 / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.003729, allocations: 0 / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.003732, allocations: 6.594 kB / 0.5469 GB, free: 27.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.496e-05/0.003787, allocations: 73.05 kB / 0.5469 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.003796, allocations: 0 / 0.5469 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.114e-05/0.003807, allocations: 0 / 0.5469 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.003819, allocations: 4 kB / 0.5469 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.003821, allocations: 0 / 0.5469 GB, free: 27.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.379e-05/0.003834, allocations: 16.84 kB / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003835, allocations: 0 / 0.547 GB, free: 27.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.003996, allocations: 4 kB / 0.547 GB, free: 27.53 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 7.185e-05/0.004068, allocations: 80.42 kB / 0.547 GB, free: 27.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.004133, allocations: 20.78 kB / 0.5471 GB, free: 27.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.004137, allocations: 4 kB / 0.5471 GB, free: 27.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.004155, allocations: 12.8 kB / 0.5471 GB, free: 27.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.168e-05/0.004237, allocations: 9.906 kB / 0.5471 GB, free: 27.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/0.004443, allocations: 124.5 kB / 0.5472 GB, free: 27.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.465e-05/0.004467, allocations: 51.36 kB / 0.5473 GB, free: 27.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.977e-05/0.004487, allocations: 0 / 0.5473 GB, free: 27.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.004521, allocations: 51.38 kB / 0.5473 GB, free: 27.12 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.004522, allocations: 0 / 0.5473 GB, free: 27.12 MB / 410.7 MB Notification: Performance of Templates: time 0.002079/0.006601, allocations: 357.2 kB / 0.5476 GB, free: 26.78 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.33630452491343]