Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.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.0007328/0.0007328, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001735, allocations: 443.9 kB / 10.36 MB, free: 332 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.001029/0.001029, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002355, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09353/1.135, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7545/0.7545, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02855/0.783, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.417e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.42 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference): time 0.001925/0.00194, allocations: 2.493 MB / 0.5469 GB, free: 27.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.005775, allocations: 6.692 MB / 0.5535 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.005874, allocations: 7.938 kB / 0.5535 GB, free: 21.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.486e-05/0.005939, allocations: 23.72 kB / 0.5535 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.006067, allocations: 83.33 kB / 0.5536 GB, free: 21.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.006194, allocations: 67.73 kB / 0.5536 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.006366, allocations: 262.6 kB / 0.5539 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.006465, allocations: 34.55 kB / 0.5539 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.006623, allocations: 176.3 kB / 0.5541 GB, free: 20.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.006765, allocations: 83.72 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.00679, allocations: 20 kB / 0.5542 GB, free: 20.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.006811, allocations: 16 kB / 0.5542 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.006838, allocations: 31.86 kB / 0.5542 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.006892, allocations: 59.88 kB / 0.5543 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.007041, allocations: 143.5 kB / 0.5544 GB, free: 20.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.007053, allocations: 4 kB / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007054, allocations: 0 / 0.5544 GB, free: 20.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.007067, allocations: 0 / 0.5544 GB, free: 20.22 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005146/0.007582, allocations: 0.4898 MB / 0.5549 GB, free: 19.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.00761, allocations: 15.88 kB / 0.5549 GB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.007653, allocations: 24.92 kB / 0.5549 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.007785, allocations: 183 kB / 0.5551 GB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.007803, allocations: 16.61 kB / 0.5551 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.007824, allocations: 12.38 kB / 0.5552 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.007959, allocations: 163.4 kB / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007969, allocations: 0 / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.007979, allocations: 4 kB / 0.5553 GB, free: 19.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.007985, allocations: 4 kB / 0.5553 GB, free: 19.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.008051, allocations: 76.64 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.008392, allocations: 365 kB / 0.5557 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.008538, allocations: 104.2 kB / 0.5558 GB, free: 18.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.008571, allocations: 64.98 kB / 0.5559 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.008579, allocations: 7.984 kB / 0.5559 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.008705, allocations: 200.3 kB / 0.5561 GB, free: 18.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.008706, allocations: 0 / 0.5561 GB, free: 18.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004945/0.0092, allocations: 0.516 MB / 0.5566 GB, free: 17.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.009231, allocations: 166.2 kB / 0.5568 GB, free: 17.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.009318, allocations: 206 kB / 0.557 GB, free: 17.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.00933, allocations: 33.7 kB / 0.557 GB, free: 17.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.009368, allocations: 116.4 kB / 0.5571 GB, free: 17.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.0094, allocations: 71.45 kB / 0.5572 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.009445, allocations: 47.19 kB / 0.5572 GB, free: 17.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.009481, allocations: 338.8 kB / 0.5575 GB, free: 16.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.00953, allocations: 97 kB / 0.5576 GB, free: 16.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.009589, allocations: 173.3 kB / 0.5578 GB, free: 16.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.457e-05/0.009684, allocations: 218.2 kB / 0.558 GB, free: 16.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.009685, allocations: 0 / 0.558 GB, free: 16.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001401/0.009825, allocations: 264.4 kB / 0.5583 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.009856, allocations: 63.41 kB / 0.5583 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.009861, allocations: 4 kB / 0.5583 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.009872, allocations: 4 kB / 0.5583 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.01002, allocations: 65.86 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.01002, allocations: 4 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.0101, allocations: 19.92 kB / 0.5584 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01011, allocations: 15.94 kB / 0.5584 GB, free: 15.7 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001056/0.01021, allocations: 171.7 kB / 0.5586 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.01023, allocations: 15.98 kB / 0.5586 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.01026, allocations: 25.95 kB / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01026, allocations: 0 / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01026, allocations: 0 / 0.5586 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.01028, allocations: 19.86 kB / 0.5586 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01029, allocations: 11.92 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.01031, allocations: 8 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.01036, allocations: 11.31 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.0104, allocations: 27.95 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001639/0.01057, allocations: 267 kB / 0.559 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2658/0.2764, allocations: 421 kB / 0.5594 GB, free: 78.97 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.309e-05/0.2765, allocations: 76.67 kB / 0.5594 GB, free: 78.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.2766, allocations: 65.73 kB / 0.5595 GB, free: 78.93 MB / 410.8 MB Notification: Performance of Backend: time 4.11e-07/0.2766, allocations: 0 / 0.5595 GB, free: 78.93 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004022/0.277, allocations: 336.8 kB / 0.5598 GB, free: 78.69 MB / 410.8 MB Notification: Performance of SimCode: time 0.005473/0.2824, allocations: 1.116 MB / 0.5609 GB, free: 77.88 MB / 410.8 MB Notification: Performance of Templates: time 0.005661/0.2881, allocations: 3.871 MB / 0.5647 GB, free: 77.71 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC05_Levomethadone.Levomethadone_Gittel2021v2_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8730355435982347]