Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.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.0008027/0.0008027, allocations: 92.48 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.0009415/0.0009415, allocations: 165.9 kB / 23.21 MB, free: 1.328 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.9926/0.9926, allocations: 177.1 MB / 203.5 MB, free: 5.691 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.7286/0.7286, allocations: 291.2 MB / 0.5382 GB, free: 51.84 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.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 3.938 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.705e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7): time 0.002234/0.002261, allocations: 2.316 MB / 0.6996 GB, free: 8.043 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.00297, allocations: 0.6039 MB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.003056, allocations: 4 kB / 0.7002 GB, free: 7.434 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.003161, allocations: 23.72 kB / 0.7002 GB, free: 7.41 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003318, allocations: 79.28 kB / 0.7003 GB, free: 7.332 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.003496, allocations: 67.84 kB / 0.7004 GB, free: 7.266 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.003675, allocations: 258.6 kB / 0.7006 GB, free: 7.012 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.003797, allocations: 36.5 kB / 0.7007 GB, free: 6.98 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.003915, allocations: 139.7 kB / 0.7008 GB, free: 6.844 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.004076, allocations: 83.72 kB / 0.7009 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.004106, allocations: 16 kB / 0.7009 GB, free: 6.746 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.004126, allocations: 16 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.004152, allocations: 47.77 kB / 0.7009 GB, free: 6.684 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.00421, allocations: 71.83 kB / 0.701 GB, free: 6.613 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.004381, allocations: 195.4 kB / 0.7012 GB, free: 6.422 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.004384, allocations: 7.922 kB / 0.7012 GB, free: 6.414 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004385, allocations: 0 / 0.7012 GB, free: 6.414 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.00439, allocations: 0 / 0.7012 GB, free: 6.414 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.0005618/0.004952, allocations: 496.8 kB / 0.7017 GB, free: 5.883 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.004987, allocations: 8.031 kB / 0.7017 GB, free: 5.875 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.005036, allocations: 24.8 kB / 0.7017 GB, free: 5.852 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.005198, allocations: 178.5 kB / 0.7019 GB, free: 5.648 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.005212, allocations: 20.61 kB / 0.7019 GB, free: 5.629 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.005238, allocations: 20.3 kB / 0.7019 GB, free: 5.609 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.005465, allocations: 194.5 kB / 0.7021 GB, free: 5.406 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.00548, allocations: 3.953 kB / 0.7021 GB, free: 5.402 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.005494, allocations: 4 kB / 0.7021 GB, free: 5.398 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.0055, allocations: 4 kB / 0.7021 GB, free: 5.395 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.00568, allocations: 142.3 kB / 0.7023 GB, free: 5.25 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.006158, allocations: 493.4 kB / 0.7027 GB, free: 4.734 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.006447, allocations: 179.9 kB / 0.7029 GB, free: 4.543 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.006538, allocations: 102.5 kB / 0.703 GB, free: 4.434 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.006547, allocations: 0 / 0.703 GB, free: 4.434 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.006743, allocations: 224.6 kB / 0.7032 GB, free: 4.184 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.006744, allocations: 4 kB / 0.7032 GB, free: 4.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0008228/0.007567, allocations: 0.7025 MB / 0.7039 GB, free: 3.414 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.007602, allocations: 136.5 kB / 0.704 GB, free: 3.25 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.007715, allocations: 215 kB / 0.7042 GB, free: 3.031 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007727, allocations: 33.7 kB / 0.7043 GB, free: 2.992 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.007774, allocations: 140.5 kB / 0.7044 GB, free: 2.852 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.007801, allocations: 67.42 kB / 0.7045 GB, free: 2.785 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.007847, allocations: 49.7 kB / 0.7045 GB, free: 2.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.007882, allocations: 342.8 kB / 0.7048 GB, free: 2.387 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.008017, allocations: 141 kB / 0.705 GB, free: 2.23 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.008139, allocations: 217.3 kB / 0.7052 GB, free: 1.973 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.00835, allocations: 286.2 kB / 0.7055 GB, free: 1.652 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008352, allocations: 0 / 0.7055 GB, free: 1.652 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002983/0.00865, allocations: 396.1 kB / 0.7058 GB, free: 1.234 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.008684, allocations: 63.39 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.00869, allocations: 0 / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.008706, allocations: 4 kB / 0.7059 GB, free: 1.156 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.008818, allocations: 55.84 kB / 0.7059 GB, free: 1.102 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.008825, allocations: 4 kB / 0.706 GB, free: 1.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.008911, allocations: 19.98 kB / 0.706 GB, free: 1.078 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.008924, allocations: 15.92 kB / 0.706 GB, free: 1.062 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.000128/0.009053, allocations: 179.1 kB / 0.7062 GB, free: 0.875 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.00907, allocations: 15.91 kB / 0.7062 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.009101, allocations: 29.95 kB / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009103, allocations: 0 / 0.7062 GB, free: 0.8281 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.009109, allocations: 3.938 kB / 0.7062 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009113, allocations: 3.984 kB / 0.7062 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.009525, allocations: 0.5391 MB / 0.7067 GB, free: 240 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009527, allocations: 7.984 kB / 0.7067 GB, free: 232 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.009625, allocations: 35.98 kB / 0.7068 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.009627, allocations: 0 / 0.7068 GB, free: 196 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.00964, allocations: 7.984 kB / 0.7068 GB, free: 188 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.009642, allocations: 0 / 0.7068 GB, free: 188 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.009644, allocations: 0 / 0.7068 GB, free: 188 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.01007, allocations: 0.5002 MB / 0.7073 GB, free: 15.65 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.0101, allocations: 15.86 kB / 0.7073 GB, free: 15.64 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.01013, allocations: 12 kB / 0.7073 GB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.01021, allocations: 16.03 kB / 0.7073 GB, free: 15.61 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/0.01028, allocations: 27.89 kB / 0.7073 GB, free: 15.58 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01029, allocations: 4 kB / 0.7073 GB, free: 15.58 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.01038, allocations: 160.4 kB / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0 / 0.7075 GB, free: 15.42 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001901/0.01057, allocations: 56 kB / 0.7076 GB, free: 15.37 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.0001076/0.01068, allocations: 121.6 kB / 0.7077 GB, free: 15.24 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.01117, allocations: 378.5 kB / 0.708 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01117, allocations: 0 / 0.708 GB, free: 14.83 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.0113, allocations: 173 kB / 0.7082 GB, free: 14.64 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.0116, allocations: 68.33 kB / 0.7083 GB, free: 14.58 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.01233, allocations: 0.5954 MB / 0.7088 GB, free: 13.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.715e-05/0.01241, allocations: 133.5 kB / 0.709 GB, free: 13.79 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.01246, allocations: 24.48 kB / 0.709 GB, free: 13.77 MB / 426.8 MB Notification: Performance of SimCode: time 8.02e-07/0.01246, allocations: 0 / 0.709 GB, free: 13.77 MB / 426.8 MB Notification: Performance of Templates: time 0.003484/0.01595, allocations: 2.938 MB / 0.7119 GB, free: 10.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.CadmiumChloride.CadmiumChloride_Houpert1997_ewe_7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.627697645686567]