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.0009047/0.0009047, allocations: 92.42 kB / 19.94 MB, free: 4.598 MB / 18.57 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.0009006/0.0009006, allocations: 165.9 kB / 23.21 MB, free: 1.324 MB / 18.57 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.9517/0.9517, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.7097/0.7097, allocations: 291.2 MB / 0.5382 GB, free: 51.83 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.232e-06/1.232e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.182e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.33 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_4HydroxybutyricAcid.D_4HydroxybutyricAcid): time 0.002432/0.002453, allocations: 2.345 MB / 0.6997 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.000745/0.003198, allocations: 0.6038 MB / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.003285, allocations: 0 / 0.7003 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.003394, allocations: 27.72 kB / 0.7003 GB, free: 7.336 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.003552, allocations: 87.27 kB / 0.7004 GB, free: 7.25 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.003725, allocations: 43.94 kB / 0.7004 GB, free: 7.207 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.003916, allocations: 270.6 kB / 0.7007 GB, free: 6.941 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004032, allocations: 40.5 kB / 0.7007 GB, free: 6.906 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.004146, allocations: 139.6 kB / 0.7009 GB, free: 6.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.004308, allocations: 83.72 kB / 0.7009 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.004334, allocations: 16 kB / 0.701 GB, free: 6.672 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.193e-05/0.004356, allocations: 16 kB / 0.701 GB, free: 6.656 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.004382, allocations: 35.84 kB / 0.701 GB, free: 6.621 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.004442, allocations: 83.77 kB / 0.7011 GB, free: 6.539 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.004609, allocations: 199.4 kB / 0.7013 GB, free: 6.344 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004611, allocations: 0 / 0.7013 GB, free: 6.344 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.272e-06/0.004613, allocations: 0 / 0.7013 GB, free: 6.344 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004617, allocations: 0 / 0.7013 GB, free: 6.344 MB / 410.8 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.0005666/0.005184, allocations: 496.8 kB / 0.7017 GB, free: 5.812 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.005218, allocations: 11.89 kB / 0.7018 GB, free: 5.801 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.005263, allocations: 24.8 kB / 0.7018 GB, free: 5.777 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.005415, allocations: 186.4 kB / 0.702 GB, free: 5.566 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.005429, allocations: 8.609 kB / 0.702 GB, free: 5.559 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.005455, allocations: 12.38 kB / 0.702 GB, free: 5.547 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.005666, allocations: 198.5 kB / 0.7022 GB, free: 5.34 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.00568, allocations: 7.953 kB / 0.7022 GB, free: 5.332 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.005694, allocations: 4 kB / 0.7022 GB, free: 5.328 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005699, allocations: 4 kB / 0.7022 GB, free: 5.324 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.005881, allocations: 146.2 kB / 0.7023 GB, free: 5.176 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.006342, allocations: 485.5 kB / 0.7028 GB, free: 4.668 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.006625, allocations: 176.1 kB / 0.703 GB, free: 4.48 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.006715, allocations: 90.53 kB / 0.703 GB, free: 4.383 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006725, allocations: 7.938 kB / 0.7031 GB, free: 4.375 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.007142, allocations: 228.5 kB / 0.7033 GB, free: 4.121 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 2.726e-06/0.007145, allocations: 4 kB / 0.7033 GB, free: 4.117 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009424/0.008087, allocations: 0.6983 MB / 0.704 GB, free: 3.355 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.008121, allocations: 140.5 kB / 0.7041 GB, free: 3.188 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.008232, allocations: 215 kB / 0.7043 GB, free: 2.969 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.008244, allocations: 37.7 kB / 0.7043 GB, free: 2.926 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.008288, allocations: 132.5 kB / 0.7045 GB, free: 2.793 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.008316, allocations: 71.42 kB / 0.7045 GB, free: 2.723 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.008364, allocations: 53.69 kB / 0.7046 GB, free: 2.664 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.008395, allocations: 334.8 kB / 0.7049 GB, free: 2.328 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.008514, allocations: 145 kB / 0.705 GB, free: 2.168 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.008635, allocations: 225.3 kB / 0.7052 GB, free: 1.902 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.008837, allocations: 280.9 kB / 0.7055 GB, free: 1.586 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008838, allocations: 0 / 0.7055 GB, free: 1.586 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002934/0.009131, allocations: 402.3 kB / 0.7059 GB, free: 1.164 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.009156, allocations: 61.75 kB / 0.706 GB, free: 1.094 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.009161, allocations: 0 / 0.706 GB, free: 1.094 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.009173, allocations: 4 kB / 0.706 GB, free: 1.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.009282, allocations: 55.83 kB / 0.706 GB, free: 1.035 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.009288, allocations: 4 kB / 0.706 GB, free: 1.031 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.009375, allocations: 15.98 kB / 0.706 GB, free: 1.016 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.009388, allocations: 12 kB / 0.706 GB, free: 1.004 MB / 410.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: 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.0001087/0.009497, allocations: 183.8 kB / 0.7062 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.009514, allocations: 15.91 kB / 0.7062 GB, free: 0.793 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.009542, allocations: 29.89 kB / 0.7063 GB, free: 0.7617 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.009544, allocations: 4 kB / 0.7063 GB, free: 0.7578 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.00955, allocations: 3.938 kB / 0.7063 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.009554, allocations: 0 / 0.7063 GB, free: 0.7539 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.009948, allocations: 0.5367 MB / 0.7068 GB, free: 172 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00995, allocations: 4 kB / 0.7068 GB, free: 168 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.01004, allocations: 39.91 kB / 0.7068 GB, free: 128 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01004, allocations: 0 / 0.7068 GB, free: 128 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01006, allocations: 8 kB / 0.7068 GB, free: 120 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01006, allocations: 0 / 0.7068 GB, free: 120 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01006, allocations: 0 / 0.7068 GB, free: 120 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.01062, allocations: 0.496 MB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.422e-05/0.01064, allocations: 19.91 kB / 0.7073 GB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.01067, allocations: 11.98 kB / 0.7074 GB, free: 15.55 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.01075, allocations: 11.98 kB / 0.7074 GB, free: 15.54 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.01081, allocations: 19.97 kB / 0.7074 GB, free: 15.52 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01082, allocations: 8 kB / 0.7074 GB, free: 15.52 MB / 426.8 MB Notification: Performance of sorting global known variables: time 8.689e-05/0.01091, allocations: 160.4 kB / 0.7076 GB, free: 15.36 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01091, allocations: 0 / 0.7076 GB, free: 15.36 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001836/0.01109, allocations: 56 kB / 0.7076 GB, free: 15.3 MB / 426.8 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 8.045e-05/0.01117, allocations: 115.1 kB / 0.7077 GB, free: 15.18 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.01151, allocations: 383.6 kB / 0.7081 GB, free: 14.77 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01151, allocations: 0 / 0.7081 GB, free: 14.77 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.01164, allocations: 169 kB / 0.7082 GB, free: 14.58 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01192, allocations: 74.86 kB / 0.7083 GB, free: 14.52 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.01263, allocations: 0.5992 MB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.439e-05/0.0127, allocations: 129.6 kB / 0.709 GB, free: 13.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.01275, allocations: 20.5 kB / 0.709 GB, free: 13.71 MB / 426.8 MB Notification: Performance of SimCode: time 4.61e-07/0.01275, allocations: 0 / 0.709 GB, free: 13.71 MB / 426.8 MB Notification: Performance of Templates: time 0.003372/0.01612, allocations: 2.95 MB / 0.7119 GB, free: 10.8 MB / 426.8 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: 5.477028822526336]