Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.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.001028/0.001028, allocations: 104.3 kB / 19.71 MB, free: 440 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.0009821/0.0009821, allocations: 217.3 kB / 23 MB, free: 2.965 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 0.9854/0.9854, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7197/0.7197, allocations: 312.3 MB / 0.6109 GB, free: 97.79 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin") [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.002152/0.002152, allocations: 74.83 kB / 0.7699 GB, free: 20.25 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 73.99 MB / 0.8422 GB, free: 10.39 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.002516/0.1159, allocations: 2.349 MB / 0.8445 GB, free: 8.043 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.117, allocations: 0.5873 MB / 0.845 GB, free: 7.461 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.117, allocations: 4.594 kB / 0.8451 GB, free: 7.457 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1172, allocations: 23.72 kB / 0.8451 GB, free: 7.434 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1173, allocations: 88.44 kB / 0.8452 GB, free: 7.348 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1175, allocations: 48.66 kB / 0.8452 GB, free: 7.301 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.1177, allocations: 251.4 kB / 0.8454 GB, free: 7.055 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1178, allocations: 40.55 kB / 0.8455 GB, free: 7.016 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.1179, allocations: 92.28 kB / 0.8456 GB, free: 6.926 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1181, allocations: 104.1 kB / 0.8457 GB, free: 6.824 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1181, allocations: 16 kB / 0.8457 GB, free: 6.809 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.1182, allocations: 16.59 kB / 0.8457 GB, free: 6.793 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.1182, allocations: 36.36 kB / 0.8457 GB, free: 6.758 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.1183, allocations: 91.53 kB / 0.8458 GB, free: 6.668 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1184, allocations: 195.7 kB / 0.846 GB, free: 6.477 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1184, allocations: 4.656 kB / 0.846 GB, free: 6.473 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1184, allocations: 0 / 0.846 GB, free: 6.473 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1185, allocations: 0.6562 kB / 0.846 GB, free: 6.473 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.0006475/0.1191, allocations: 0.4942 MB / 0.8465 GB, free: 5.934 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1191, allocations: 12.62 kB / 0.8465 GB, free: 5.922 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.1192, allocations: 29.42 kB / 0.8465 GB, free: 5.895 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1194, allocations: 179.2 kB / 0.8467 GB, free: 5.691 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1194, allocations: 5.172 kB / 0.8467 GB, free: 5.688 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1194, allocations: 23.89 kB / 0.8467 GB, free: 5.664 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1197, allocations: 195.4 kB / 0.8469 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1197, allocations: 0.5625 kB / 0.8469 GB, free: 5.457 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1197, allocations: 8 kB / 0.8469 GB, free: 5.449 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1197, allocations: 0.625 kB / 0.8469 GB, free: 5.449 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.1199, allocations: 151.4 kB / 0.8471 GB, free: 5.297 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.1204, allocations: 482.6 kB / 0.8475 GB, free: 4.793 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.1208, allocations: 176.8 kB / 0.8477 GB, free: 4.605 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1209, allocations: 95.7 kB / 0.8478 GB, free: 4.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1209, allocations: 7.938 kB / 0.8478 GB, free: 4.496 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1211, allocations: 223.5 kB / 0.848 GB, free: 4.25 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.1211, allocations: 0.625 kB / 0.848 GB, free: 4.25 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009188/0.122, allocations: 0.6992 MB / 0.8487 GB, free: 3.492 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1221, allocations: 137 kB / 0.8488 GB, free: 3.328 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1222, allocations: 218.9 kB / 0.849 GB, free: 3.105 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1222, allocations: 30.33 kB / 0.8491 GB, free: 3.07 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1223, allocations: 137 kB / 0.8492 GB, free: 2.934 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1223, allocations: 75.41 kB / 0.8493 GB, free: 2.859 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.1224, allocations: 58.31 kB / 0.8493 GB, free: 2.797 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.1225, allocations: 338.8 kB / 0.8497 GB, free: 2.457 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1226, allocations: 142.4 kB / 0.8498 GB, free: 2.301 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.1228, allocations: 225.3 kB / 0.85 GB, free: 2.035 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.123, allocations: 285.9 kB / 0.8503 GB, free: 1.719 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.123, allocations: 0 / 0.8503 GB, free: 1.719 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003473/0.1234, allocations: 382.5 kB / 0.8506 GB, free: 1.316 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.1234, allocations: 67.89 kB / 0.8507 GB, free: 1.238 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1234, allocations: 4.719 kB / 0.8507 GB, free: 1.234 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1234, allocations: 7.984 kB / 0.8507 GB, free: 1.227 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1235, allocations: 52.53 kB / 0.8508 GB, free: 1.176 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1235, allocations: 4.625 kB / 0.8508 GB, free: 1.172 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.1236, allocations: 16.58 kB / 0.8508 GB, free: 1.156 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1236, allocations: 8 kB / 0.8508 GB, free: 1.148 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.0001506/0.1238, allocations: 177.4 kB / 0.851 GB, free: 0.9609 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1238, allocations: 27.8 kB / 0.851 GB, free: 0.9336 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.1239, allocations: 22.48 kB / 0.851 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1239, allocations: 4.719 kB / 0.851 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1239, allocations: 3.938 kB / 0.851 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1239, allocations: 0.5938 kB / 0.851 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.1246, allocations: 0.5363 MB / 0.8515 GB, free: 328 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1246, allocations: 0.5938 kB / 0.8515 GB, free: 328 kB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1247, allocations: 44.5 kB / 0.8516 GB, free: 284 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1247, allocations: 4.531 kB / 0.8516 GB, free: 280 kB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1248, allocations: 0 / 0.8516 GB, free: 280 kB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1248, allocations: 8.531 kB / 0.8516 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1248, allocations: 0.5 kB / 0.8516 GB, free: 272 kB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004509/0.1252, allocations: 499.5 kB / 0.8521 GB, free: 15.74 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.1252, allocations: 27.83 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1253, allocations: 8.531 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1254, allocations: 16.67 kB / 0.8521 GB, free: 15.69 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1254, allocations: 15.97 kB / 0.8521 GB, free: 15.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1254, allocations: 12.61 kB / 0.8522 GB, free: 15.66 MB / 490.8 MB Notification: Performance of sorting global known variables: time 8.989e-05/0.1255, allocations: 160.9 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1255, allocations: 0 / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001906/0.1257, allocations: 56.62 kB / 0.8524 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 8.815e-05/0.1258, allocations: 111.8 kB / 0.8525 GB, free: 15.34 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.1261, allocations: 381.6 kB / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1261, allocations: 0 / 0.8528 GB, free: 14.92 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1263, allocations: 175.8 kB / 0.853 GB, free: 14.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1266, allocations: 63.27 kB / 0.8531 GB, free: 14.68 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.1274, allocations: 0.6975 MB / 0.8537 GB, free: 14.02 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.285e-05/0.1275, allocations: 129.6 kB / 0.8539 GB, free: 13.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.1275, allocations: 19.44 kB / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/0.1275, allocations: 0 / 0.8539 GB, free: 13.85 MB / 490.8 MB Notification: Performance of Templates: time 0.2161/0.3436, allocations: 2.929 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.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0678658382967114]