Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.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.001103/0.001103, allocations: 96.52 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.0009209/0.0009209, 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.9242/0.9242, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.742/0.742, allocations: 291.2 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.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.393e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine): time 0.002202/0.002225, allocations: 2.332 MB / 0.6996 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.002904, allocations: 0.6038 MB / 0.7002 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.002999, allocations: 7.938 kB / 0.7002 GB, free: 7.379 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.003107, allocations: 19.78 kB / 0.7003 GB, free: 7.359 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.003266, allocations: 83.27 kB / 0.7003 GB, free: 7.277 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.003437, allocations: 51.88 kB / 0.7004 GB, free: 7.227 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.003618, allocations: 270.5 kB / 0.7006 GB, free: 6.961 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.003741, allocations: 40.52 kB / 0.7007 GB, free: 6.926 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003855, allocations: 139.6 kB / 0.7008 GB, free: 6.789 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.004013, allocations: 83.72 kB / 0.7009 GB, free: 6.707 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.004037, allocations: 16 kB / 0.7009 GB, free: 6.691 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.004057, allocations: 16 kB / 0.7009 GB, free: 6.676 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.004084, allocations: 43.83 kB / 0.701 GB, free: 6.633 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.004143, allocations: 75.78 kB / 0.701 GB, free: 6.559 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004306, allocations: 199.4 kB / 0.7012 GB, free: 6.363 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.004308, allocations: 0 / 0.7012 GB, free: 6.363 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00431, allocations: 0 / 0.7012 GB, free: 6.363 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.004314, allocations: 4 kB / 0.7012 GB, free: 6.359 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.0005992/0.004913, allocations: 496.8 kB / 0.7017 GB, free: 5.828 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.004961, allocations: 15.97 kB / 0.7017 GB, free: 5.812 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.005012, allocations: 20.8 kB / 0.7017 GB, free: 5.793 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.005177, allocations: 174.4 kB / 0.7019 GB, free: 5.594 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.005194, allocations: 12.61 kB / 0.7019 GB, free: 5.582 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.005222, allocations: 12.38 kB / 0.7019 GB, free: 5.57 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.005463, allocations: 206.5 kB / 0.7021 GB, free: 5.355 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.00548, allocations: 7.953 kB / 0.7021 GB, free: 5.348 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.005495, allocations: 0 / 0.7021 GB, free: 5.348 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.005501, allocations: 4 kB / 0.7021 GB, free: 5.344 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.005691, allocations: 146.2 kB / 0.7023 GB, free: 5.195 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.006208, allocations: 489.4 kB / 0.7027 GB, free: 4.684 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.006521, allocations: 176.2 kB / 0.7029 GB, free: 4.496 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.006618, allocations: 90.52 kB / 0.703 GB, free: 4.398 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.006629, allocations: 0 / 0.703 GB, free: 4.398 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.006867, allocations: 240.5 kB / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.006868, allocations: 0 / 0.7032 GB, free: 4.133 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008738/0.007742, allocations: 0.7023 MB / 0.7039 GB, free: 3.367 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.007778, allocations: 144.5 kB / 0.7041 GB, free: 3.195 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.007908, allocations: 211 kB / 0.7043 GB, free: 2.98 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.007921, allocations: 33.7 kB / 0.7043 GB, free: 2.941 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.007968, allocations: 128.5 kB / 0.7044 GB, free: 2.812 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.007998, allocations: 79.41 kB / 0.7045 GB, free: 2.734 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.008046, allocations: 45.7 kB / 0.7045 GB, free: 2.684 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.008081, allocations: 342.8 kB / 0.7049 GB, free: 2.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.0082, allocations: 145 kB / 0.705 GB, free: 2.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.008324, allocations: 215.5 kB / 0.7052 GB, free: 1.926 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.008526, allocations: 286.2 kB / 0.7055 GB, free: 1.605 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008528, allocations: 4 kB / 0.7055 GB, free: 1.602 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003081/0.008836, allocations: 387.9 kB / 0.7058 GB, free: 1.191 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.008862, allocations: 67.61 kB / 0.7059 GB, free: 1.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.008868, allocations: 4 kB / 0.7059 GB, free: 1.109 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.008881, allocations: 4 kB / 0.7059 GB, free: 1.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.008991, allocations: 51.84 kB / 0.706 GB, free: 1.055 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.008997, allocations: 4 kB / 0.706 GB, free: 1.051 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.009084, allocations: 19.98 kB / 0.706 GB, free: 1.031 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.009097, allocations: 12 kB / 0.706 GB, free: 1.02 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.0001233/0.00922, allocations: 173.9 kB / 0.7062 GB, free: 0.8359 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.009238, allocations: 23.91 kB / 0.7062 GB, free: 0.8125 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.009266, allocations: 25.95 kB / 0.7062 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009268, allocations: 0 / 0.7062 GB, free: 0.7852 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.009272, allocations: 7.875 kB / 0.7062 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009276, allocations: 0 / 0.7062 GB, free: 0.7773 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.009677, allocations: 0.5406 MB / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009678, allocations: 0 / 0.7068 GB, free: 192 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.009785, allocations: 35.91 kB / 0.7068 GB, free: 156 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.009788, allocations: 4 kB / 0.7068 GB, free: 152 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.0098, allocations: 8 kB / 0.7068 GB, free: 144 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.009801, allocations: 0 / 0.7068 GB, free: 144 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.009803, allocations: 11.92 kB / 0.7068 GB, free: 132 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.01025, allocations: 500 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.01027, allocations: 23.89 kB / 0.7073 GB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.0103, allocations: 8 kB / 0.7073 GB, free: 15.58 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.01038, allocations: 11.98 kB / 0.7073 GB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.01045, allocations: 27.97 kB / 0.7074 GB, free: 15.54 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.01046, allocations: 11.98 kB / 0.7074 GB, free: 15.53 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.081e-05/0.01055, allocations: 156.4 kB / 0.7075 GB, free: 15.38 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01055, allocations: 0 / 0.7075 GB, free: 15.38 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000192/0.01075, allocations: 56 kB / 0.7076 GB, free: 15.32 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 9.312e-05/0.01084, allocations: 111.2 kB / 0.7077 GB, free: 15.21 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.01119, allocations: 379.8 kB / 0.708 GB, free: 14.79 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01119, allocations: 4 kB / 0.708 GB, free: 14.79 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.01133, allocations: 171.2 kB / 0.7082 GB, free: 14.61 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.01161, allocations: 72.17 kB / 0.7083 GB, free: 14.54 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.01235, allocations: 0.5914 MB / 0.7088 GB, free: 13.91 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.955e-05/0.01245, allocations: 125.6 kB / 0.709 GB, free: 13.76 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.0125, allocations: 28.5 kB / 0.709 GB, free: 13.73 MB / 426.8 MB Notification: Performance of SimCode: time 7.91e-07/0.0125, allocations: 0 / 0.709 GB, free: 13.73 MB / 426.8 MB Notification: Performance of Templates: time 0.003326/0.01583, allocations: 2.944 MB / 0.7119 GB, free: 10.81 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.435328873805702]