Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_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.001035/0.001035, allocations: 104.3 kB / 19.71 MB, free: 440 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.000981/0.000981, allocations: 217.8 kB / 23 MB, free: 2.965 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.9608/0.9608, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7538/0.7538, allocations: 312.3 MB / 0.6108 GB, free: 97.56 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.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_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.001591/0.001591, allocations: 77.92 kB / 0.7699 GB, free: 20.21 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 73.99 MB / 0.8421 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference): time 0.003495/0.133, allocations: 3.006 MB / 0.8451 GB, free: 7.344 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005841/0.1388, allocations: 6.633 MB / 0.8516 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.139, allocations: 7.938 kB / 0.8516 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.1392, allocations: 36.38 kB / 0.8516 GB, free: 0.668 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.1394, allocations: 128.4 kB / 0.8517 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1397, allocations: 80.67 kB / 0.8518 GB, free: 476 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.14, allocations: 422 kB / 0.8522 GB, free: 52 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1402, allocations: 59.41 kB / 0.8523 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1403, allocations: 151.9 kB / 0.8524 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1405, allocations: 147.8 kB / 0.8525 GB, free: 15.7 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.1406, allocations: 32 kB / 0.8526 GB, free: 15.67 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.1406, allocations: 32.5 kB / 0.8526 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.1406, allocations: 64.36 kB / 0.8527 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1407, allocations: 143.4 kB / 0.8528 GB, free: 15.43 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.141, allocations: 359.2 kB / 0.8531 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.141, allocations: 0.5625 kB / 0.8531 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.141, allocations: 0 / 0.8531 GB, free: 15.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1411, allocations: 0.5625 kB / 0.8531 GB, free: 15.08 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008135/0.1419, allocations: 0.6116 MB / 0.8537 GB, free: 14.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1419, allocations: 8.031 kB / 0.8537 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.142, allocations: 41.28 kB / 0.8538 GB, free: 14.38 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1423, allocations: 225.7 kB / 0.854 GB, free: 14.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1423, allocations: 12.81 kB / 0.854 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1423, allocations: 32.52 kB / 0.854 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1427, allocations: 301.7 kB / 0.8543 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1427, allocations: 4.625 kB / 0.8543 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1427, allocations: 11.94 kB / 0.8544 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1427, allocations: 8.625 kB / 0.8544 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.143, allocations: 245 kB / 0.8546 GB, free: 13.49 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007623/0.1437, allocations: 0.6639 MB / 0.8552 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1442, allocations: 272.5 kB / 0.8555 GB, free: 12.51 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1443, allocations: 157.2 kB / 0.8557 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.1443, allocations: 4.609 kB / 0.8557 GB, free: 12.34 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2921/0.4364, allocations: 369.2 kB / 0.856 GB, free: 30.64 MB / 490.8 MB Notification: Performance of pre-optimization done (n=33): time 3.055e-06/0.4364, allocations: 0 / 0.856 GB, free: 30.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=35): time 0.001378/0.4378, allocations: 1.136 MB / 0.8571 GB, free: 30.15 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4379, allocations: 222.7 kB / 0.8573 GB, free: 29.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4381, allocations: 251.2 kB / 0.8576 GB, free: 29.8 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.4381, allocations: 38.44 kB / 0.8576 GB, free: 29.77 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.4382, allocations: 157.5 kB / 0.8578 GB, free: 29.67 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.4382, allocations: 120.5 kB / 0.8579 GB, free: 29.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.4383, allocations: 75.83 kB / 0.8579 GB, free: 29.59 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.4383, allocations: 343.8 kB / 0.8583 GB, free: 29.28 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4385, allocations: 223.4 kB / 0.8585 GB, free: 29.17 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.4387, allocations: 325.8 kB / 0.8588 GB, free: 28.94 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.4391, allocations: 449.4 kB / 0.8592 GB, free: 28.68 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4391, allocations: 0.6875 kB / 0.8592 GB, free: 28.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004849/0.4396, allocations: 0.5778 MB / 0.8598 GB, free: 28.44 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.4396, allocations: 91.05 kB / 0.8599 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4396, allocations: 3.531 kB / 0.8599 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4396, allocations: 4.125 kB / 0.8599 GB, free: 28.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4398, allocations: 87.36 kB / 0.86 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.4398, allocations: 6.094 kB / 0.86 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.44, allocations: 20.2 kB / 0.86 GB, free: 28.34 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.44, allocations: 20 kB / 0.86 GB, free: 28.34 MB / 490.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.0001828/0.4402, allocations: 232.5 kB / 0.8602 GB, free: 28.16 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.4402, allocations: 31.16 kB / 0.8603 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.4402, allocations: 34.66 kB / 0.8603 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4402, allocations: 4.219 kB / 0.8603 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4402, allocations: 1.219 kB / 0.8603 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4402, allocations: 0.7969 kB / 0.8603 GB, free: 28.13 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006886/0.4409, allocations: 0.8254 MB / 0.8611 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4409, allocations: 2.578 kB / 0.8611 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.4411, allocations: 51.89 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4411, allocations: 0 / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4411, allocations: 18.8 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4411, allocations: 4.25 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4411, allocations: 1.188 kB / 0.8612 GB, free: 27.75 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.4417, allocations: 0.7659 MB / 0.8619 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.4418, allocations: 54.41 kB / 0.862 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.4418, allocations: 16.88 kB / 0.862 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4419, allocations: 18.72 kB / 0.862 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.442, allocations: 29.64 kB / 0.862 GB, free: 27.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.442, allocations: 18.69 kB / 0.8621 GB, free: 27.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001096/0.4422, allocations: 182.3 kB / 0.8622 GB, free: 27.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4422, allocations: 1.75 kB / 0.8622 GB, free: 27.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002181/0.4424, allocations: 85.69 kB / 0.8623 GB, free: 27.3 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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 0.0001014/0.4425, allocations: 132.8 kB / 0.8624 GB, free: 27.21 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.4429, allocations: 0.5918 MB / 0.863 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4429, allocations: 0 / 0.863 GB, free: 26.85 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.4432, allocations: 314.2 kB / 0.8633 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.4435, allocations: 91.06 kB / 0.8634 GB, free: 26.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.4448, allocations: 1.057 MB / 0.8644 GB, free: 26.13 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.4449, allocations: 163.2 kB / 0.8646 GB, free: 26.05 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.445, allocations: 31.94 kB / 0.8646 GB, free: 26.04 MB / 490.8 MB Notification: Performance of SimCode: time 1.052e-06/0.445, allocations: 3.938 kB / 0.8646 GB, free: 26.04 MB / 490.8 MB Notification: Performance of Templates: time 0.005524/0.4505, allocations: 4.35 MB / 0.8689 GB, free: 25.64 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AH03_Olanzapine.Olanzapine_Zang2024_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.378589332103729]