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.001102/0.001102, allocations: 108.3 kB / 19.71 MB, free: 432 kB / 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.00179/0.00179, allocations: 220.6 kB / 23 MB, free: 2.957 MB / 13.93 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.003/1.003, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.6892/0.6892, allocations: 312.3 MB / 0.6108 GB, free: 97.76 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.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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.48 kB / 0.7699 GB, free: 20.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 73.99 MB / 0.8422 GB, free: 10.38 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference): time 0.003039/0.1096, allocations: 2.331 MB / 0.8444 GB, free: 8.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.000894/0.1105, allocations: 0.591 MB / 0.845 GB, free: 7.457 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.482e-05/0.1105, allocations: 4.531 kB / 0.845 GB, free: 7.453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.1107, allocations: 32.45 kB / 0.845 GB, free: 7.422 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1109, allocations: 83.92 kB / 0.8451 GB, free: 7.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.111, allocations: 44.62 kB / 0.8452 GB, free: 7.297 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000261/0.1113, allocations: 259.3 kB / 0.8454 GB, free: 7.043 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1114, allocations: 28.58 kB / 0.8454 GB, free: 7.016 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1116, allocations: 100.4 kB / 0.8455 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1117, allocations: 96.14 kB / 0.8456 GB, free: 6.824 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1118, allocations: 16 kB / 0.8456 GB, free: 6.809 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.1118, allocations: 16.62 kB / 0.8457 GB, free: 6.793 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.1118, allocations: 47.83 kB / 0.8457 GB, free: 6.746 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.1119, allocations: 88.28 kB / 0.8458 GB, free: 6.66 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1122, allocations: 195.7 kB / 0.846 GB, free: 6.469 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1122, allocations: 0 / 0.846 GB, free: 6.469 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1122, allocations: 0.625 kB / 0.846 GB, free: 6.469 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1122, allocations: 0 / 0.846 GB, free: 6.469 MB / 474.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.000733/0.1129, allocations: 498.6 kB / 0.8465 GB, free: 5.938 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1129, allocations: 12.59 kB / 0.8465 GB, free: 5.926 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.113, allocations: 24.8 kB / 0.8465 GB, free: 5.902 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1132, allocations: 183.7 kB / 0.8467 GB, free: 5.695 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1132, allocations: 9.109 kB / 0.8467 GB, free: 5.688 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.1133, allocations: 24.61 kB / 0.8467 GB, free: 5.664 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1136, allocations: 187.1 kB / 0.8469 GB, free: 5.465 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1136, allocations: 0 / 0.8469 GB, free: 5.465 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1136, allocations: 8.594 kB / 0.8469 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1136, allocations: 0 / 0.8469 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.1138, allocations: 151.5 kB / 0.847 GB, free: 5.305 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1145, allocations: 498.8 kB / 0.8475 GB, free: 4.785 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003893/0.1149, allocations: 173 kB / 0.8477 GB, free: 4.602 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.115, allocations: 91.14 kB / 0.8478 GB, free: 4.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.115, allocations: 8.562 kB / 0.8478 GB, free: 4.496 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.1152, allocations: 225.1 kB / 0.848 GB, free: 4.246 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.1152, allocations: 0.625 kB / 0.848 GB, free: 4.246 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009122/0.1162, allocations: 0.7036 MB / 0.8487 GB, free: 3.484 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.1162, allocations: 141 kB / 0.8488 GB, free: 3.316 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1164, allocations: 215.6 kB / 0.849 GB, free: 3.098 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.1164, allocations: 29.7 kB / 0.849 GB, free: 3.062 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1164, allocations: 133.1 kB / 0.8492 GB, free: 2.93 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.1165, allocations: 76.25 kB / 0.8492 GB, free: 2.855 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.1165, allocations: 57.66 kB / 0.8493 GB, free: 2.793 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.1166, allocations: 334.8 kB / 0.8496 GB, free: 2.457 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1167, allocations: 146.2 kB / 0.8497 GB, free: 2.297 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1169, allocations: 225.9 kB / 0.85 GB, free: 2.031 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1171, allocations: 283 kB / 0.8502 GB, free: 1.715 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1171, allocations: 0 / 0.8502 GB, free: 1.715 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003487/0.1175, allocations: 385.1 kB / 0.8506 GB, free: 1.312 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.1175, allocations: 72.11 kB / 0.8507 GB, free: 1.23 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1175, allocations: 4 kB / 0.8507 GB, free: 1.227 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1175, allocations: 4.688 kB / 0.8507 GB, free: 1.223 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1177, allocations: 48.47 kB / 0.8507 GB, free: 1.176 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1177, allocations: 4 kB / 0.8507 GB, free: 1.172 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.1178, allocations: 20.52 kB / 0.8507 GB, free: 1.152 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1178, allocations: 16.48 kB / 0.8508 GB, free: 1.137 MB / 474.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.0001452/0.1179, allocations: 176.6 kB / 0.8509 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1179, allocations: 28.42 kB / 0.851 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.118, allocations: 26.61 kB / 0.851 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.118, allocations: 4 kB / 0.851 GB, free: 0.8945 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.118, allocations: 4.562 kB / 0.851 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.118, allocations: 0 / 0.851 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.1185, allocations: 0.5328 MB / 0.8515 GB, free: 320 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1185, allocations: 4.609 kB / 0.8515 GB, free: 316 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.1186, allocations: 36.42 kB / 0.8516 GB, free: 280 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1186, allocations: 0 / 0.8516 GB, free: 280 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1186, allocations: 8.578 kB / 0.8516 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1186, allocations: 8.438 kB / 0.8516 GB, free: 264 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1186, allocations: 0 / 0.8516 GB, free: 264 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.119, allocations: 498.5 kB / 0.852 GB, free: 15.74 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.119, allocations: 23.8 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.1191, allocations: 8.719 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.1192, allocations: 12.53 kB / 0.8521 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.1192, allocations: 24.58 kB / 0.8521 GB, free: 15.67 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1192, allocations: 8 kB / 0.8521 GB, free: 15.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.1193, allocations: 160.9 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1193, allocations: 0.625 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001812/0.1195, allocations: 55.94 kB / 0.8523 GB, free: 15.45 MB / 490.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.5e-05/0.1196, allocations: 112.3 kB / 0.8524 GB, free: 15.33 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003348/0.1199, allocations: 377.6 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1199, allocations: 0.5938 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1201, allocations: 169.6 kB / 0.853 GB, free: 14.74 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.1203, allocations: 71.02 kB / 0.853 GB, free: 14.67 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.1212, allocations: 0.711 MB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.046e-05/0.1212, allocations: 121.6 kB / 0.8538 GB, free: 13.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.1216, allocations: 23.42 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of SimCode: time 9.32e-07/0.1216, allocations: 4 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of Templates: time 0.2036/0.3252, allocations: 2.926 MB / 0.8567 GB, free: 29.74 MB / 490.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 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin_Cura2002_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.911331558600068]