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.001185/0.001185, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001879/0.003064, allocations: 443.8 kB / 10.3 MB, free: 400 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.001153/0.001153, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002649, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.025/1.025, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.126, allocations: 53.66 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.8249/0.8249, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02974/0.8546, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.513e-06/1.513e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.377e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AD01_Pentazocine.Pentazocine_Omori2022_PD_nrs): time 0.00115/0.001174, allocations: 0.6705 MB / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.533e-05/0.001199, allocations: 7.938 kB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.001216, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.551e-06/0.001222, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-06/0.00123, allocations: 0 / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.235e-05/0.001263, allocations: 7.984 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.001307, allocations: 15.88 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.001346, allocations: 11.11 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.001395, allocations: 11.98 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.001443, allocations: 7.984 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.001461, allocations: 0 / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.001468, allocations: 4 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.001479, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.001498, allocations: 7.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.079e-05/0.001549, allocations: 7.984 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.436e-05/0.001563, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.001564, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.001574, allocations: 0 / 0.5451 GB, free: 29.9 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.0002829/0.001857, allocations: 231.1 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.00189, allocations: 11.89 kB / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.001911, allocations: 4.938 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.357e-05/0.001974, allocations: 121.6 kB / 0.5455 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.001986, allocations: 384 / 0.5455 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.001992, allocations: 4.375 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.971e-05/0.002052, allocations: 34.25 kB / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.002057, allocations: 192 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.002063, allocations: 384 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.002067, allocations: 384 / 0.5455 GB, free: 29.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.002085, allocations: 11.94 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.684e-05/0.002162, allocations: 65.03 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.002388, allocations: 54.53 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.002401, allocations: 4.859 kB / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.002407, allocations: 0 / 0.5456 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.002422, allocations: 34.56 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.002423, allocations: 3.938 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.186e-05/0.002505, allocations: 37.78 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.002523, allocations: 63.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.172e-05/0.002555, allocations: 110.6 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-06/0.00256, allocations: 25.7 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-06/0.002569, allocations: 80.14 kB / 0.546 GB, free: 28.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.002592, allocations: 7.953 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.002617, allocations: 17.7 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.002647, allocations: 314.8 kB / 0.5463 GB, free: 28.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-06/0.002654, allocations: 7.984 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.002661, allocations: 4.172 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.457e-05/0.002686, allocations: 16.86 kB / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.002688, allocations: 0 / 0.5463 GB, free: 28.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.461e-05/0.002733, allocations: 41.69 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.002746, allocations: 6.969 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.002751, allocations: 6.688 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.00276, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.002802, allocations: 8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.002805, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.002817, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-06/0.00282, allocations: 0 / 0.5464 GB, free: 28.45 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.026e-05/0.00286, allocations: 117.8 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/0.002865, allocations: 0 / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.002885, allocations: 11.69 kB / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.002887, allocations: 0 / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.002889, allocations: 4 kB / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.002891, allocations: 0 / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.961e-05/0.002941, allocations: 69.83 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.002942, allocations: 3.984 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.002956, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.002961, allocations: 7.953 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.002963, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-06/0.002965, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.002966, allocations: 0 / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.002967, allocations: 4 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.704e-05/0.003014, allocations: 73 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.003021, allocations: 3.938 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-06/0.003029, allocations: 3.625 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.00304, allocations: 7.984 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-06/0.003041, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.506e-06/0.003049, allocations: 8.859 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003049, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.946e-05/0.003139, allocations: 4 kB / 0.5467 GB, free: 28.09 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.784e-05/0.003197, allocations: 76.42 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.358e-05/0.00325, allocations: 28.78 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.003253, allocations: 0 / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.00326, allocations: 8.859 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.046e-05/0.00332, allocations: 9.906 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.003502, allocations: 146.5 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.003529, allocations: 59.34 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.00356, allocations: 51.38 kB / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.00356, allocations: 0 / 0.5471 GB, free: 27.64 MB / 410.7 MB Notification: Performance of Templates: time 0.001131/0.004691, allocations: 0.4921 MB / 0.5476 GB, free: 27.16 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 > 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.923173563554883]