Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.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.001034/0.001034, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.0009561/0.0009561, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.9662/0.9662, allocations: 177.1 MB / 203.5 MB, free: 5.766 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.7517/0.7517, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.6974 GB, free: 10.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.791e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid): time 0.002273/0.002301, allocations: 2.339 MB / 0.6997 GB, free: 8.004 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.003021, allocations: 0.6038 MB / 0.7002 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.003134, allocations: 4 kB / 0.7002 GB, free: 7.395 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.003281, allocations: 23.72 kB / 0.7003 GB, free: 7.371 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.003474, allocations: 91.25 kB / 0.7004 GB, free: 7.281 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.003716, allocations: 51.94 kB / 0.7004 GB, free: 7.23 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.003954, allocations: 258.6 kB / 0.7006 GB, free: 6.977 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.00411, allocations: 36.52 kB / 0.7007 GB, free: 6.945 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.004287, allocations: 143.6 kB / 0.7008 GB, free: 6.805 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.004475, allocations: 83.73 kB / 0.7009 GB, free: 6.723 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.004505, allocations: 16 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.004529, allocations: 16 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.004563, allocations: 39.83 kB / 0.701 GB, free: 6.652 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.00464, allocations: 83.77 kB / 0.701 GB, free: 6.57 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.004888, allocations: 199.4 kB / 0.7012 GB, free: 6.375 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004892, allocations: 0 / 0.7012 GB, free: 6.375 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.004894, allocations: 0 / 0.7012 GB, free: 6.375 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.0049, allocations: 0 / 0.7012 GB, free: 6.375 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.000767/0.005667, allocations: 496.8 kB / 0.7017 GB, free: 5.844 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.005716, allocations: 8.031 kB / 0.7017 GB, free: 5.836 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.005787, allocations: 24.8 kB / 0.7017 GB, free: 5.812 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.005979, allocations: 186.4 kB / 0.7019 GB, free: 5.602 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.005997, allocations: 12.61 kB / 0.7019 GB, free: 5.59 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.006024, allocations: 12.38 kB / 0.7019 GB, free: 5.578 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.006278, allocations: 194.5 kB / 0.7021 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.006291, allocations: 7.891 kB / 0.7021 GB, free: 5.367 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.006307, allocations: 7.984 kB / 0.7021 GB, free: 5.359 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.006313, allocations: 4 kB / 0.7022 GB, free: 5.355 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.006497, allocations: 138.3 kB / 0.7023 GB, free: 5.215 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.007009, allocations: 489.4 kB / 0.7027 GB, free: 4.703 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.007314, allocations: 180.1 kB / 0.7029 GB, free: 4.512 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.007407, allocations: 94.53 kB / 0.703 GB, free: 4.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.007417, allocations: 0 / 0.703 GB, free: 4.41 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.007625, allocations: 232.6 kB / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.007626, allocations: 0 / 0.7032 GB, free: 4.152 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008577/0.008484, allocations: 0.6988 MB / 0.7039 GB, free: 3.391 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.008523, allocations: 140.5 kB / 0.704 GB, free: 3.223 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.008638, allocations: 211 kB / 0.7043 GB, free: 3.008 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.008652, allocations: 37.7 kB / 0.7043 GB, free: 2.965 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.008702, allocations: 132.5 kB / 0.7044 GB, free: 2.832 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.008732, allocations: 75.42 kB / 0.7045 GB, free: 2.758 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.008782, allocations: 49.69 kB / 0.7045 GB, free: 2.703 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.008819, allocations: 338.8 kB / 0.7049 GB, free: 2.363 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.008938, allocations: 137 kB / 0.705 GB, free: 2.211 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.009063, allocations: 233.2 kB / 0.7052 GB, free: 1.938 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.00926, allocations: 286.2 kB / 0.7055 GB, free: 1.617 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.009262, allocations: 4 kB / 0.7055 GB, free: 1.613 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003049/0.009567, allocations: 392.1 kB / 0.7059 GB, free: 1.199 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.009599, allocations: 61.75 kB / 0.7059 GB, free: 1.129 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009604, allocations: 3.984 kB / 0.7059 GB, free: 1.125 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.009618, allocations: 4 kB / 0.7059 GB, free: 1.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.009729, allocations: 55.84 kB / 0.706 GB, free: 1.066 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.009736, allocations: 7.984 kB / 0.706 GB, free: 1.059 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.009823, allocations: 23.92 kB / 0.706 GB, free: 1.035 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.009835, allocations: 8.156 kB / 0.706 GB, free: 1.027 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.0001376/0.009973, allocations: 172.2 kB / 0.7062 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.009992, allocations: 23.78 kB / 0.7062 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.01002, allocations: 21.97 kB / 0.7062 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01003, allocations: 0 / 0.7062 GB, free: 0.7969 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01003, allocations: 3.938 kB / 0.7062 GB, free: 0.793 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01003, allocations: 3.984 kB / 0.7062 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.01044, allocations: 0.5407 MB / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01044, allocations: 0 / 0.7068 GB, free: 204 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.01054, allocations: 35.92 kB / 0.7068 GB, free: 168 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01054, allocations: 0 / 0.7068 GB, free: 168 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01055, allocations: 7.984 kB / 0.7068 GB, free: 160 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01055, allocations: 0 / 0.7068 GB, free: 160 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01056, allocations: 0 / 0.7068 GB, free: 160 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.01099, allocations: 0.4989 MB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.01102, allocations: 23.8 kB / 0.7073 GB, free: 15.6 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.01104, allocations: 12.03 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.01112, allocations: 11.98 kB / 0.7073 GB, free: 15.58 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.01119, allocations: 27.91 kB / 0.7074 GB, free: 15.55 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.0112, allocations: 4 kB / 0.7074 GB, free: 15.55 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.311e-05/0.0113, allocations: 164.4 kB / 0.7075 GB, free: 15.39 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0113, allocations: 0 / 0.7075 GB, free: 15.39 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001898/0.01149, allocations: 52 kB / 0.7076 GB, free: 15.34 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 0.0001026/0.01159, allocations: 110.8 kB / 0.7077 GB, free: 15.22 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.01194, allocations: 379.6 kB / 0.708 GB, free: 14.81 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01194, allocations: 4 kB / 0.708 GB, free: 14.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.01207, allocations: 165 kB / 0.7082 GB, free: 14.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.01238, allocations: 74.67 kB / 0.7083 GB, free: 14.55 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007695/0.01315, allocations: 0.6031 MB / 0.7089 GB, free: 13.92 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.452e-05/0.01322, allocations: 121.6 kB / 0.709 GB, free: 13.78 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.01327, allocations: 24.5 kB / 0.709 GB, free: 13.75 MB / 426.8 MB Notification: Performance of SimCode: time 4.31e-07/0.01327, allocations: 3.938 kB / 0.709 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Templates: time 0.003396/0.01667, allocations: 2.945 MB / 0.7119 GB, free: 10.82 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.559709036722779]