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.000755/0.000755, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009037/0.001659, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007704/0.0007704, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009054/0.001676, allocations: 475.7 kB / 11.7 MB, free: 2.465 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 1.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1215/1.155, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.8407/0.8407, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03794/0.8786, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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 1.743e-06/1.743e-06, allocations: 0 / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.489e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.006099/0.006124, allocations: 2.533 MB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.007192, allocations: 0.631 MB / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.0073, allocations: 0 / 0.5478 GB, free: 27.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.007382, allocations: 23.72 kB / 0.5478 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.007561, allocations: 87.27 kB / 0.5479 GB, free: 27.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.007733, allocations: 51.86 kB / 0.5479 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.007985, allocations: 262.6 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.008118, allocations: 46.47 kB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.008352, allocations: 176.2 kB / 0.5484 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.01156, allocations: 87.72 kB / 0.5485 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.0116, allocations: 16 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.01164, allocations: 16 kB / 0.5485 GB, free: 26.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.01167, allocations: 27.88 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.01175, allocations: 59.88 kB / 0.5486 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.01197, allocations: 147.5 kB / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.01199, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01199, allocations: 0 / 0.5487 GB, free: 26.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.012, allocations: 4 kB / 0.5487 GB, free: 26.13 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.0006994/0.0127, allocations: 0.4898 MB / 0.5492 GB, free: 25.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.01274, allocations: 12.03 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.01279, allocations: 24.91 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.01298, allocations: 179.1 kB / 0.5494 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.01301, allocations: 11.67 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.01304, allocations: 16.38 kB / 0.5494 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.01324, allocations: 159.5 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01325, allocations: 4 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.01326, allocations: 4 kB / 0.5496 GB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01327, allocations: 4 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/0.01337, allocations: 84.61 kB / 0.5497 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.01384, allocations: 364.9 kB / 0.55 GB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.01405, allocations: 108.1 kB / 0.5501 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.0141, allocations: 66.53 kB / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.01411, allocations: 0 / 0.5502 GB, free: 24.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.01429, allocations: 196.3 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.01429, allocations: 0 / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.003714/0.01801, allocations: 0.5083 MB / 0.5509 GB, free: 23.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.01805, allocations: 166.2 kB / 0.551 GB, free: 23.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.01817, allocations: 202.1 kB / 0.5512 GB, free: 23.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.01819, allocations: 33.7 kB / 0.5512 GB, free: 23.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.01823, allocations: 124.4 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.01827, allocations: 67.41 kB / 0.5514 GB, free: 23.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.01834, allocations: 55.17 kB / 0.5515 GB, free: 23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.01839, allocations: 334.8 kB / 0.5518 GB, free: 22.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.01845, allocations: 97 kB / 0.5519 GB, free: 22.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.01853, allocations: 177.3 kB / 0.5521 GB, free: 22.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01868, allocations: 211.8 kB / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01868, allocations: 0 / 0.5523 GB, free: 22.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002173/0.01889, allocations: 262.1 kB / 0.5525 GB, free: 21.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.01894, allocations: 67.39 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01895, allocations: 2.875 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01896, allocations: 8 kB / 0.5526 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.01918, allocations: 63.89 kB / 0.5527 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01918, allocations: 7.938 kB / 0.5527 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.0193, allocations: 19.92 kB / 0.5527 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.01931, allocations: 12 kB / 0.5527 GB, free: 21.61 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 0.0001441/0.01946, allocations: 169 kB / 0.5529 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.01948, allocations: 23.98 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.01952, allocations: 25.95 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01952, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01953, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01953, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.01987, allocations: 374.2 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.01988, allocations: 7.875 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.02005, allocations: 43.97 kB / 0.5533 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.02007, allocations: 19.84 kB / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02008, allocations: 0 / 0.5533 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.02009, allocations: 15.94 kB / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02009, allocations: 0 / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.02009, allocations: 0 / 0.5533 GB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003275/0.02337, allocations: 351.8 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.0234, allocations: 8 kB / 0.5537 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.02351, allocations: 15.98 kB / 0.5537 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.02357, allocations: 19.95 kB / 0.5537 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.02358, allocations: 11.92 kB / 0.5537 GB, free: 20.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.915e-05/0.02364, allocations: 61.97 kB / 0.5538 GB, free: 20.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02364, allocations: 4 kB / 0.5538 GB, free: 20.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.0239, allocations: 52 kB / 0.5538 GB, free: 20.35 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 0.0001065/0.024, allocations: 100.4 kB / 0.5539 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.02422, allocations: 308.5 kB / 0.5542 GB, free: 19.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.02423, allocations: 4 kB / 0.5542 GB, free: 19.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.02432, allocations: 152.6 kB / 0.5544 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.02465, allocations: 98.47 kB / 0.5545 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.03795, allocations: 0.5472 MB / 0.555 GB, free: 19.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.038, allocations: 84.31 kB / 0.5551 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002523/0.04053, allocations: 17.95 kB / 0.5551 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.04068, allocations: 111.3 kB / 0.5552 GB, free: 18.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/0.04068, allocations: 8 kB / 0.5552 GB, free: 18.82 MB / 410.7 MB Notification: Performance of Templates: time 0.005771/0.04645, allocations: 3.798 MB / 0.5589 GB, free: 15.12 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.611217975616455]