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.001126/0.001126, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 13.93 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.001991/0.001991, allocations: 213.3 kB / 23 MB, free: 2.961 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.9028/0.9028, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.6905/0.6905, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 77.2 kB / 0.7699 GB, free: 19.62 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1397, allocations: 73.99 MB / 0.8422 GB, free: 9.77 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference): time 0.003376/0.1431, allocations: 2.685 MB / 0.8448 GB, free: 7.086 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.149, allocations: 6.605 MB / 0.8512 GB, free: 492 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1491, allocations: 4.438 kB / 0.8512 GB, free: 488 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1492, allocations: 40.25 kB / 0.8513 GB, free: 448 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1495, allocations: 120.4 kB / 0.8514 GB, free: 328 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.1497, allocations: 68.45 kB / 0.8515 GB, free: 260 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.1501, allocations: 386.8 kB / 0.8518 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1503, allocations: 48.91 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.1504, allocations: 144.1 kB / 0.852 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1506, allocations: 140 kB / 0.8521 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1507, allocations: 27.94 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.1507, allocations: 24.62 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1508, allocations: 55.72 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1509, allocations: 140.1 kB / 0.8524 GB, free: 15.31 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1512, allocations: 286.8 kB / 0.8527 GB, free: 15.03 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1512, allocations: 8.609 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1512, allocations: 0.5938 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1512, allocations: 0 / 0.8527 GB, free: 15.02 MB / 490.8 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.0008854/0.1521, allocations: 0.5871 MB / 0.8532 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1521, allocations: 12.03 kB / 0.8532 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.1522, allocations: 33.47 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1525, allocations: 217 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1525, allocations: 13.31 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1525, allocations: 27.94 kB / 0.8535 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.1529, allocations: 284.5 kB / 0.8538 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1529, allocations: 8.641 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1529, allocations: 8.625 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.153, allocations: 4 kB / 0.8538 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1533, allocations: 233.8 kB / 0.854 GB, free: 13.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.1542, allocations: 0.6849 MB / 0.8547 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.1546, allocations: 240.5 kB / 0.8549 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1548, allocations: 149 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.1548, allocations: 0.7188 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.1552, allocations: 358.2 kB / 0.8554 GB, free: 11.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.1552, allocations: 0.625 kB / 0.8554 GB, free: 11.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2434/0.3986, allocations: 1.08 MB / 0.8565 GB, free: 21.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3986, allocations: 221 kB / 0.8567 GB, free: 20.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.3988, allocations: 249.7 kB / 0.8569 GB, free: 20.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3988, allocations: 34.05 kB / 0.857 GB, free: 20.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.3989, allocations: 158.8 kB / 0.8571 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.3989, allocations: 114.2 kB / 0.8572 GB, free: 20.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.399, allocations: 77.67 kB / 0.8573 GB, free: 20.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.3991, allocations: 339.6 kB / 0.8576 GB, free: 20.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.3993, allocations: 209.9 kB / 0.8578 GB, free: 20.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.3995, allocations: 317.7 kB / 0.8581 GB, free: 19.83 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003821/0.3999, allocations: 432.1 kB / 0.8585 GB, free: 19.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3999, allocations: 3.344 kB / 0.8585 GB, free: 19.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005479/0.4005, allocations: 0.5484 MB / 0.8591 GB, free: 19.33 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.4005, allocations: 92.23 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.4005, allocations: 6.688 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4005, allocations: 4.062 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4008, allocations: 80.58 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.4008, allocations: 8.453 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.4009, allocations: 24.92 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.4009, allocations: 19.25 kB / 0.8593 GB, free: 19.23 MB / 490.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.0001661/0.4011, allocations: 225.8 kB / 0.8595 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.4011, allocations: 37.31 kB / 0.8595 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.4012, allocations: 30.38 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4012, allocations: 3.656 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4012, allocations: 0 / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4012, allocations: 1.641 kB / 0.8596 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.4019, allocations: 0.7587 MB / 0.8603 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4019, allocations: 0 / 0.8603 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.4021, allocations: 59.66 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4021, allocations: 1.281 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4021, allocations: 15.2 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4021, allocations: 2.344 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4021, allocations: 4.531 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.4028, allocations: 0.7253 MB / 0.8611 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.4028, allocations: 25.95 kB / 0.8611 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.4029, allocations: 9.906 kB / 0.8611 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.403, allocations: 18.19 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.753e-05/0.4031, allocations: 36.12 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.4031, allocations: 14.05 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.565e-05/0.4032, allocations: 178.2 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.4032, allocations: 0.625 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002174/0.4034, allocations: 84.95 kB / 0.8615 GB, free: 18.21 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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 8.545e-05/0.4035, allocations: 126.6 kB / 0.8616 GB, free: 18.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.4039, allocations: 0.5655 MB / 0.8621 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4039, allocations: 1.75 kB / 0.8621 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.4041, allocations: 296.6 kB / 0.8624 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4044, allocations: 90.47 kB / 0.8625 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.4057, allocations: 0.97 MB / 0.8635 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4059, allocations: 159.7 kB / 0.8636 GB, free: 17.02 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.406, allocations: 33.52 kB / 0.8636 GB, free: 17.01 MB / 490.8 MB Notification: Performance of SimCode: time 1.192e-06/0.406, allocations: 1.5 kB / 0.8636 GB, free: 17.01 MB / 490.8 MB Notification: Performance of Templates: time 0.007375/0.4133, allocations: 4.015 MB / 0.8676 GB, free: 16.65 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM18_Dexmedetomidine.Dexmedetomidine_James2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.174961805343628]