Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.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.001002/0.001002, 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.00106/0.00106, allocations: 217.3 kB / 23 MB, free: 2.941 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.9236/0.9236, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.707/0.707, allocations: 312.3 MB / 0.6108 GB, free: 97.41 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.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron") [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.001514/0.001514, allocations: 73.61 kB / 0.7699 GB, free: 20.13 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 73.99 MB / 0.8422 GB, free: 10.27 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron): time 0.002935/0.1206, allocations: 2.707 MB / 0.8448 GB, free: 7.562 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.1259, allocations: 6.606 MB / 0.8513 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1261, allocations: 7.938 kB / 0.8513 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1262, allocations: 32.23 kB / 0.8513 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.1264, allocations: 124 kB / 0.8514 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1267, allocations: 73.03 kB / 0.8515 GB, free: 0.7266 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.127, allocations: 378.1 kB / 0.8519 GB, free: 364 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1271, allocations: 53.47 kB / 0.8519 GB, free: 312 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1273, allocations: 140.2 kB / 0.8521 GB, free: 172 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1275, allocations: 139.9 kB / 0.8522 GB, free: 32 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.1275, allocations: 24 kB / 0.8522 GB, free: 8 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.1276, allocations: 32.73 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1276, allocations: 55.67 kB / 0.8523 GB, free: 15.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1277, allocations: 136 kB / 0.8524 GB, free: 15.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.128, allocations: 290.8 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.128, allocations: 0.625 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.128, allocations: 0.5938 kB / 0.8527 GB, free: 15.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.128, allocations: 0 / 0.8527 GB, free: 15.5 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.0007384/0.1288, allocations: 0.5943 MB / 0.8533 GB, free: 14.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1288, allocations: 8.688 kB / 0.8533 GB, free: 14.85 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.1289, allocations: 32.75 kB / 0.8533 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1291, allocations: 209.7 kB / 0.8535 GB, free: 14.59 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1291, allocations: 25.28 kB / 0.8535 GB, free: 14.57 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.1291, allocations: 27.92 kB / 0.8536 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1295, allocations: 284.5 kB / 0.8538 GB, free: 14.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1295, allocations: 8.578 kB / 0.8539 GB, free: 14.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1295, allocations: 8.625 kB / 0.8539 GB, free: 14.22 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1295, allocations: 8 kB / 0.8539 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.1298, allocations: 229.7 kB / 0.8541 GB, free: 13.98 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.1305, allocations: 0.6775 MB / 0.8547 GB, free: 13.26 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.1309, allocations: 235.8 kB / 0.855 GB, free: 13.01 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.131, allocations: 153.5 kB / 0.8551 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.131, allocations: 4.656 kB / 0.8551 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.1313, allocations: 346.3 kB / 0.8555 GB, free: 12.45 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.1313, allocations: 0.625 kB / 0.8555 GB, free: 12.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2632/0.3945, allocations: 1.078 MB / 0.8565 GB, free: 21.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3946, allocations: 221.5 kB / 0.8567 GB, free: 20.98 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.3948, allocations: 253.2 kB / 0.857 GB, free: 20.87 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3948, allocations: 36.2 kB / 0.857 GB, free: 20.84 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.3948, allocations: 158.5 kB / 0.8571 GB, free: 20.74 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.3949, allocations: 114.2 kB / 0.8573 GB, free: 20.69 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.395, allocations: 77.72 kB / 0.8573 GB, free: 20.67 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.395, allocations: 341.3 kB / 0.8577 GB, free: 20.36 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3952, allocations: 214.3 kB / 0.8579 GB, free: 20.25 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3954, allocations: 314.9 kB / 0.8582 GB, free: 20.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.3957, allocations: 432 kB / 0.8586 GB, free: 19.76 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3957, allocations: 0.75 kB / 0.8586 GB, free: 19.76 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004645/0.3962, allocations: 0.5506 MB / 0.8591 GB, free: 19.52 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.3962, allocations: 91.94 kB / 0.8592 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3962, allocations: 2.906 kB / 0.8592 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3962, allocations: 9.75 kB / 0.8592 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3964, allocations: 85.86 kB / 0.8593 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3964, allocations: 4.25 kB / 0.8593 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3965, allocations: 19.23 kB / 0.8593 GB, free: 19.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3965, allocations: 20.05 kB / 0.8593 GB, free: 19.43 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.0001644/0.3967, allocations: 233.8 kB / 0.8596 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3967, allocations: 28.53 kB / 0.8596 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.3968, allocations: 33.55 kB / 0.8596 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3968, allocations: 2.594 kB / 0.8596 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3968, allocations: 1.891 kB / 0.8596 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3968, allocations: 1.266 kB / 0.8596 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.3974, allocations: 0.762 MB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3974, allocations: 1.125 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3976, allocations: 53.58 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3976, allocations: 0.8438 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.3976, allocations: 12.91 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3976, allocations: 1.062 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3976, allocations: 3.938 kB / 0.8604 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.3981, allocations: 0.7325 MB / 0.8611 GB, free: 18.51 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.3981, allocations: 25.83 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3982, allocations: 8.984 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.3983, allocations: 15.72 kB / 0.8612 GB, free: 18.5 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.3984, allocations: 35.92 kB / 0.8612 GB, free: 18.49 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3984, allocations: 10.67 kB / 0.8612 GB, free: 18.49 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001026/0.3985, allocations: 178.9 kB / 0.8614 GB, free: 18.41 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0.5938 kB / 0.8614 GB, free: 18.41 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002324/0.3987, allocations: 86.97 kB / 0.8615 GB, free: 18.41 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.553e-05/0.3988, allocations: 125.2 kB / 0.8616 GB, free: 18.32 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.3992, allocations: 0.5664 MB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3992, allocations: 0.625 kB / 0.8622 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3994, allocations: 299.7 kB / 0.8625 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3998, allocations: 88.7 kB / 0.8625 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4008, allocations: 0.9766 MB / 0.8635 GB, free: 17.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4009, allocations: 159.6 kB / 0.8636 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.401, allocations: 28.06 kB / 0.8637 GB, free: 17.22 MB / 490.8 MB Notification: Performance of SimCode: time 5.71e-07/0.401, allocations: 3.969 kB / 0.8637 GB, free: 17.22 MB / 490.8 MB Notification: Performance of Templates: time 0.005892/0.4069, allocations: 4.019 MB / 0.8676 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A04A_AntiemeticsAndAntinauseants.A04AA01_Ondansetron.Ondansetron.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.954022123478353]