Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_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.001074/0.001074, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002729, 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.001057/0.001057, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009087/0.001966, 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 0.9827/0.9827, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08909/1.072, allocations: 53.67 MB / 243.3 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.8538/0.8538, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03188/0.8857, allocations: 21.04 MB / 0.5432 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.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5446 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.495e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference): time 0.002271/0.002286, allocations: 2.944 MB / 0.5474 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.006403, allocations: 6.782 MB / 0.5541 GB, free: 20.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.006524, allocations: 4 kB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.638e-05/0.00661, allocations: 39.58 kB / 0.5541 GB, free: 20.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.006799, allocations: 127 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.006957, allocations: 71.84 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.007183, allocations: 393.8 kB / 0.5547 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.00731, allocations: 66.84 kB / 0.5547 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.007506, allocations: 246.6 kB / 0.555 GB, free: 19.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.007679, allocations: 123.6 kB / 0.5551 GB, free: 19.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.007709, allocations: 24 kB / 0.5551 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.007737, allocations: 24 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.007767, allocations: 39.81 kB / 0.5552 GB, free: 19.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.007841, allocations: 103.8 kB / 0.5553 GB, free: 19.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.008041, allocations: 203.2 kB / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.008053, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008054, allocations: 0 / 0.5555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.008066, allocations: 0 / 0.5555 GB, free: 19.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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006204/0.008687, allocations: 0.6282 MB / 0.5561 GB, free: 18.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.008719, allocations: 11.89 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.008772, allocations: 40.91 kB / 0.5561 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.008953, allocations: 193.5 kB / 0.5563 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.008974, allocations: 12.75 kB / 0.5563 GB, free: 18.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.009005, allocations: 28.33 kB / 0.5564 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.009204, allocations: 240.6 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.009218, allocations: 4 kB / 0.5566 GB, free: 18.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.009231, allocations: 8 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.009238, allocations: 4 kB / 0.5566 GB, free: 18.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.009347, allocations: 138.6 kB / 0.5567 GB, free: 17.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.009884, allocations: 0.5191 MB / 0.5572 GB, free: 17.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.01006, allocations: 162.9 kB / 0.5574 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.01011, allocations: 96.48 kB / 0.5575 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.01012, allocations: 7.938 kB / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.01031, allocations: 323.8 kB / 0.5578 GB, free: 16.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/0.01031, allocations: 0 / 0.5578 GB, free: 16.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007613/0.01107, allocations: 0.8087 MB / 0.5586 GB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.01112, allocations: 273 kB / 0.5589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.01124, allocations: 229 kB / 0.5591 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.01125, allocations: 37.7 kB / 0.5591 GB, free: 15.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.0113, allocations: 137.3 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.919e-05/0.01136, allocations: 119 kB / 0.5594 GB, free: 14.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.01142, allocations: 66.17 kB / 0.5594 GB, free: 14.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2796/0.2911, allocations: 346.7 kB / 0.5597 GB, free: 79.54 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.2913, allocations: 143.4 kB / 0.5599 GB, free: 79.44 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.2914, allocations: 249.8 kB / 0.5601 GB, free: 79.21 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.2916, allocations: 346.6 kB / 0.5605 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2916, allocations: 1.25 kB / 0.5605 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003844/0.292, allocations: 386.2 kB / 0.5608 GB, free: 78.73 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.2921, allocations: 91.39 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2921, allocations: 3.969 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.2921, allocations: 5.594 kB / 0.5609 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.2925, allocations: 110 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2925, allocations: 5.875 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.2926, allocations: 22.03 kB / 0.561 GB, free: 78.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.2927, allocations: 16.86 kB / 0.5611 GB, free: 78.64 MB / 410.8 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002087/0.2929, allocations: 208.2 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.2929, allocations: 34.84 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.293, allocations: 37.58 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.293, allocations: 1.828 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.293, allocations: 2.25 kB / 0.5613 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.293, allocations: 23.58 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2931, allocations: 9.75 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2931, allocations: 12.06 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.2932, allocations: 16.92 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.2933, allocations: 29.56 kB / 0.5614 GB, free: 78.45 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003939/0.2937, allocations: 384.4 kB / 0.5618 GB, free: 78.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004422/0.2941, allocations: 0.5954 MB / 0.5624 GB, free: 77.81 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001316/0.2942, allocations: 142.6 kB / 0.5625 GB, free: 77.74 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.5e-05/0.2943, allocations: 80.89 kB / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of Backend: time 3.21e-07/0.2943, allocations: 0 / 0.5626 GB, free: 77.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.2949, allocations: 493.6 kB / 0.5631 GB, free: 77.39 MB / 410.8 MB Notification: Performance of SimCode: time 0.007831/0.3027, allocations: 1.317 MB / 0.5643 GB, free: 76.46 MB / 410.8 MB Notification: Performance of Templates: time 0.008494/0.3112, allocations: 5.279 MB / 0.5695 GB, free: 75.46 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9307516058906913]