Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.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.0006777/0.0006777, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000937/0.001615, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007414/0.0007414, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009525/0.001694, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9243/0.9243, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08433/1.009, allocations: 53.66 MB / 243.2 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.8043/0.8043, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02364/0.828, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.965e-06/8.847e-06, allocations: 10.19 kB / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.001795/0.001804, allocations: 2.526 MB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000596/0.0024, allocations: 0.6194 MB / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.00246, allocations: 0 / 0.5475 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.002507, allocations: 27.72 kB / 0.5476 GB, free: 27.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.002615, allocations: 87.25 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.002719, allocations: 47.88 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.002876, allocations: 270.5 kB / 0.548 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.002956, allocations: 38.55 kB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003098, allocations: 176.2 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.003215, allocations: 83.78 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.003236, allocations: 16 kB / 0.5483 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.00326, allocations: 16 kB / 0.5483 GB, free: 26.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.003282, allocations: 27.88 kB / 0.5483 GB, free: 26.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.003332, allocations: 63.88 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.00346, allocations: 147.4 kB / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/0.003473, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003474, allocations: 0 / 0.5485 GB, free: 26.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.003486, allocations: 4 kB / 0.5485 GB, free: 26.42 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.0004763/0.003963, allocations: 0.4937 MB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.157e-05/0.003984, allocations: 8.031 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.004023, allocations: 24.92 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.00415, allocations: 179.1 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.004168, allocations: 4.609 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.004188, allocations: 24.3 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.004327, allocations: 159.5 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.004337, allocations: 3.984 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.004346, allocations: 4 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004351, allocations: 4 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.109e-05/0.004422, allocations: 80.64 kB / 0.5495 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.004742, allocations: 357 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.004892, allocations: 112.1 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.004927, allocations: 66.67 kB / 0.55 GB, free: 24.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.004936, allocations: 11.88 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.005059, allocations: 188.4 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.122e-06/0.00506, allocations: 0 / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004661/0.005527, allocations: 0.5004 MB / 0.5506 GB, free: 24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005554, allocations: 140.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.005639, allocations: 202.1 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.00565, allocations: 33.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.005683, allocations: 120.4 kB / 0.5511 GB, free: 23.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.005713, allocations: 67.41 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.005759, allocations: 55.17 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.871e-05/0.005788, allocations: 334.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.005834, allocations: 101 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.00589, allocations: 176.7 kB / 0.5518 GB, free: 22.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.005984, allocations: 215.8 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005985, allocations: 0 / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001419/0.006127, allocations: 270 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.006155, allocations: 63.41 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006159, allocations: 224 / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.006167, allocations: 11.98 kB / 0.5524 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.006313, allocations: 63.39 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.006317, allocations: 7.938 kB / 0.5524 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.006394, allocations: 19.92 kB / 0.5524 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.006404, allocations: 12 kB / 0.5525 GB, free: 21.94 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 8.09e-05/0.006485, allocations: 165.7 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.006505, allocations: 23.98 kB / 0.5526 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.006529, allocations: 25.95 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006531, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.006532, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.006537, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.006767, allocations: 374.2 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006769, allocations: 3.938 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.006881, allocations: 43.97 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.0069, allocations: 19.84 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006903, allocations: 8 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.006913, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006914, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.006915, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.007081, allocations: 347.8 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.007104, allocations: 8 kB / 0.5534 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.007178, allocations: 11.98 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.007218, allocations: 15.97 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.007229, allocations: 19.23 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.007269, allocations: 65.95 kB / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007269, allocations: 4 kB / 0.5536 GB, free: 20.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007432, allocations: 52 kB / 0.5536 GB, free: 20.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 5.669e-05/0.007489, allocations: 96.36 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.007645, allocations: 308.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.007648, allocations: 0 / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/0.007706, allocations: 148.7 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.007923, allocations: 90.02 kB / 0.5542 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.01344, allocations: 0.584 MB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.0135, allocations: 121.6 kB / 0.5549 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.01364, allocations: 119.3 kB / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01364, allocations: 0 / 0.555 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.00255/0.01619, allocations: 2.922 MB / 0.5579 GB, free: 16.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.189425565302372]