Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.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.002549/0.002549, allocations: 88.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002943/0.002943, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.693/1.693, allocations: 177.1 MB / 202.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 293 MB / 0.5392 GB, free: 50.12 MB / 410.7 MB " [Timeout remaining time 178] 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.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6999 GB, free: 8.578 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.852e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.002969/0.002998, allocations: 2.322 MB / 0.7022 GB, free: 6.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004073, allocations: 0.5923 MB / 0.7028 GB, free: 5.637 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.004233, allocations: 3.938 kB / 0.7028 GB, free: 5.633 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.004369, allocations: 27.7 kB / 0.7028 GB, free: 5.605 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.00462, allocations: 83.33 kB / 0.7029 GB, free: 5.523 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.004837, allocations: 55.81 kB / 0.7029 GB, free: 5.469 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.005105, allocations: 266.6 kB / 0.7032 GB, free: 5.207 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005242, allocations: 40.56 kB / 0.7032 GB, free: 5.172 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.005435, allocations: 143.6 kB / 0.7034 GB, free: 5.031 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.005639, allocations: 79.78 kB / 0.7035 GB, free: 4.953 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.005677, allocations: 16 kB / 0.7035 GB, free: 4.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.188e-05/0.005709, allocations: 20 kB / 0.7035 GB, free: 4.918 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.005744, allocations: 35.8 kB / 0.7035 GB, free: 4.883 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.005826, allocations: 75.77 kB / 0.7036 GB, free: 4.809 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.006048, allocations: 207.3 kB / 0.7038 GB, free: 4.605 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006051, allocations: 4 kB / 0.7038 GB, free: 4.602 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.303e-06/0.006052, allocations: 0 / 0.7038 GB, free: 4.602 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.006059, allocations: 0 / 0.7038 GB, free: 4.602 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.0009365/0.006995, allocations: 488.9 kB / 0.7043 GB, free: 4.078 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.00704, allocations: 12.03 kB / 0.7043 GB, free: 4.066 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.007128, allocations: 24.8 kB / 0.7043 GB, free: 4.043 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.007368, allocations: 186.3 kB / 0.7045 GB, free: 3.832 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.007389, allocations: 8.609 kB / 0.7045 GB, free: 3.824 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.007437, allocations: 16.38 kB / 0.7045 GB, free: 3.809 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.007788, allocations: 202.2 kB / 0.7047 GB, free: 3.598 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.007807, allocations: 3.953 kB / 0.7047 GB, free: 3.594 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.007828, allocations: 8 kB / 0.7047 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.007833, allocations: 0 / 0.7047 GB, free: 3.586 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.008175, allocations: 150.2 kB / 0.7048 GB, free: 3.434 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007595/0.008935, allocations: 477.5 kB / 0.7053 GB, free: 2.934 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.00942, allocations: 188 kB / 0.7055 GB, free: 2.734 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.009592, allocations: 94.52 kB / 0.7056 GB, free: 2.633 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.009605, allocations: 3.984 kB / 0.7056 GB, free: 2.629 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.009913, allocations: 232.4 kB / 0.7058 GB, free: 2.371 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.009915, allocations: 0 / 0.7058 GB, free: 2.371 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001633/0.01155, allocations: 0.7026 MB / 0.7065 GB, free: 1.605 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.01161, allocations: 132.5 kB / 0.7066 GB, free: 1.445 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.0118, allocations: 223 kB / 0.7068 GB, free: 1.219 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01183, allocations: 33.69 kB / 0.7069 GB, free: 1.18 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.01191, allocations: 132.5 kB / 0.707 GB, free: 1.047 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.01195, allocations: 63.48 kB / 0.707 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.248e-05/0.01204, allocations: 49.7 kB / 0.7071 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.0121, allocations: 342.8 kB / 0.7074 GB, free: 0.5859 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.01234, allocations: 145 kB / 0.7076 GB, free: 436 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.01257, allocations: 223.7 kB / 0.7078 GB, free: 168 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.01303, allocations: 280.9 kB / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01303, allocations: 0 / 0.708 GB, free: 15.85 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007425/0.01377, allocations: 390.2 kB / 0.7084 GB, free: 15.44 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.01384, allocations: 67.34 kB / 0.7085 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.01385, allocations: 4.219 kB / 0.7085 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.01388, allocations: 7.984 kB / 0.7085 GB, free: 15.35 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.01412, allocations: 55.84 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.01413, allocations: 7.938 kB / 0.7085 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.01434, allocations: 15.98 kB / 0.7086 GB, free: 15.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.01437, allocations: 12 kB / 0.7086 GB, free: 15.26 MB / 426.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.0002503/0.01462, allocations: 176.3 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.01466, allocations: 23.91 kB / 0.7088 GB, free: 15.05 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.01473, allocations: 25.95 kB / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01473, allocations: 0 / 0.7088 GB, free: 15.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.01474, allocations: 7.938 kB / 0.7088 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01474, allocations: 0 / 0.7088 GB, free: 15.01 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.01569, allocations: 0.5367 MB / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.01569, allocations: 0 / 0.7093 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.0159, allocations: 31.97 kB / 0.7093 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.0159, allocations: 7.938 kB / 0.7094 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.01592, allocations: 8 kB / 0.7094 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.01593, allocations: 4 kB / 0.7094 GB, free: 14.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01593, allocations: 4 kB / 0.7094 GB, free: 14.37 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.01685, allocations: 499.2 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.01691, allocations: 23.89 kB / 0.7099 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.01695, allocations: 4 kB / 0.7099 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.01715, allocations: 15.98 kB / 0.7099 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.756e-05/0.01724, allocations: 27.95 kB / 0.7099 GB, free: 13.78 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.01726, allocations: 8 kB / 0.7099 GB, free: 13.77 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000191/0.01746, allocations: 160.4 kB / 0.7101 GB, free: 13.62 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01746, allocations: 0 / 0.7101 GB, free: 13.62 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000325/0.01778, allocations: 56 kB / 0.7101 GB, free: 13.56 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.000173/0.01795, allocations: 111.2 kB / 0.7102 GB, free: 13.45 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007244/0.01868, allocations: 387.8 kB / 0.7106 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01868, allocations: 0 / 0.7106 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.01899, allocations: 171.7 kB / 0.7108 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.01949, allocations: 72.02 kB / 0.7108 GB, free: 12.77 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.02077, allocations: 0.5716 MB / 0.7114 GB, free: 12.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.02092, allocations: 129.6 kB / 0.7115 GB, free: 12.02 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.02104, allocations: 17.95 kB / 0.7115 GB, free: 12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.02111, allocations: 28.5 kB / 0.7116 GB, free: 11.97 MB / 426.8 MB Notification: Performance of SimCode: time 7.21e-07/0.02111, allocations: 0 / 0.7116 GB, free: 11.97 MB / 426.8 MB Notification: Performance of Templates: time 0.00847/0.02958, allocations: 3.324 MB / 0.7148 GB, free: 8.77 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.899859969969839]