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.00185/0.00185, allocations: 84.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.002193/0.002193, allocations: 173.9 kB / 22.45 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.349/1.349, allocations: 292.9 MB / 0.5392 GB, free: 49.78 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,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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.766e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.496 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin): time 0.002792/0.002819, allocations: 2.348 MB / 0.7022 GB, free: 6.129 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.003731, allocations: 0.5883 MB / 0.7028 GB, free: 5.539 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.00383, allocations: 4 kB / 0.7028 GB, free: 5.535 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003945, allocations: 23.72 kB / 0.7028 GB, free: 5.512 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.004136, allocations: 83.27 kB / 0.7029 GB, free: 5.43 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.004329, allocations: 59.8 kB / 0.7029 GB, free: 5.371 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004571, allocations: 262.6 kB / 0.7032 GB, free: 5.113 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.004704, allocations: 36.56 kB / 0.7032 GB, free: 5.082 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.00485, allocations: 143.6 kB / 0.7034 GB, free: 4.941 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.005036, allocations: 83.72 kB / 0.7034 GB, free: 4.859 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.005066, allocations: 16 kB / 0.7035 GB, free: 4.844 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.287e-05/0.005099, allocations: 16 kB / 0.7035 GB, free: 4.828 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.005134, allocations: 43.78 kB / 0.7035 GB, free: 4.785 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.005211, allocations: 75.83 kB / 0.7036 GB, free: 4.711 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005417, allocations: 199.3 kB / 0.7038 GB, free: 4.516 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005419, allocations: 0 / 0.7038 GB, free: 4.516 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005421, allocations: 0 / 0.7038 GB, free: 4.516 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.005426, allocations: 3.984 kB / 0.7038 GB, free: 4.512 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.000798/0.006224, allocations: 492.9 kB / 0.7043 GB, free: 3.984 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.006256, allocations: 8.031 kB / 0.7043 GB, free: 3.977 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.006312, allocations: 24.8 kB / 0.7043 GB, free: 3.953 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.006516, allocations: 190.3 kB / 0.7045 GB, free: 3.738 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.006535, allocations: 8.609 kB / 0.7045 GB, free: 3.73 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.00657, allocations: 12.38 kB / 0.7045 GB, free: 3.719 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.006897, allocations: 206.4 kB / 0.7047 GB, free: 3.504 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.006913, allocations: 7.953 kB / 0.7047 GB, free: 3.496 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.006931, allocations: 4 kB / 0.7047 GB, free: 3.492 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.006936, allocations: 4 kB / 0.7047 GB, free: 3.488 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.007264, allocations: 142.3 kB / 0.7048 GB, free: 3.344 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.007938, allocations: 481.5 kB / 0.7053 GB, free: 2.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.008381, allocations: 176.1 kB / 0.7055 GB, free: 2.652 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.008552, allocations: 100.2 kB / 0.7056 GB, free: 2.547 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.008564, allocations: 0 / 0.7056 GB, free: 2.547 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.008862, allocations: 228.4 kB / 0.7058 GB, free: 2.293 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.008863, allocations: 7.984 kB / 0.7058 GB, free: 2.285 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001324/0.01019, allocations: 0.6965 MB / 0.7065 GB, free: 1.523 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.01024, allocations: 144.5 kB / 0.7066 GB, free: 1.352 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.01042, allocations: 215 kB / 0.7068 GB, free: 1.133 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01044, allocations: 33.7 kB / 0.7068 GB, free: 1.094 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.01049, allocations: 132.5 kB / 0.707 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.01053, allocations: 67.5 kB / 0.707 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.0106, allocations: 49.64 kB / 0.7071 GB, free: 0.8398 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.01066, allocations: 338.8 kB / 0.7074 GB, free: 0.5 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.01086, allocations: 145 kB / 0.7075 GB, free: 348 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.01107, allocations: 221.3 kB / 0.7077 GB, free: 80 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/0.01155, allocations: 288.8 kB / 0.708 GB, free: 15.75 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01155, allocations: 0 / 0.708 GB, free: 15.75 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000685/0.01223, allocations: 390.2 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.0123, allocations: 67.33 kB / 0.7085 GB, free: 15.26 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.01231, allocations: 3.938 kB / 0.7085 GB, free: 15.26 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01233, allocations: 4.219 kB / 0.7085 GB, free: 15.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.01254, allocations: 51.91 kB / 0.7085 GB, free: 15.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.01256, allocations: 7.938 kB / 0.7085 GB, free: 15.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.01274, allocations: 19.98 kB / 0.7085 GB, free: 15.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.01277, allocations: 12 kB / 0.7086 GB, free: 15.16 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.0002268/0.01299, allocations: 178.3 kB / 0.7087 GB, free: 14.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01303, allocations: 15.91 kB / 0.7087 GB, free: 14.96 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.01309, allocations: 33.95 kB / 0.7088 GB, free: 14.93 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01309, allocations: 0 / 0.7088 GB, free: 14.93 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.0131, allocations: 3.938 kB / 0.7088 GB, free: 14.92 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.0131, allocations: 0 / 0.7088 GB, free: 14.92 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.014, allocations: 0.5367 MB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.014, allocations: 3.938 kB / 0.7093 GB, free: 14.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.0142, allocations: 31.97 kB / 0.7093 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.0142, allocations: 0 / 0.7093 GB, free: 14.3 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.01423, allocations: 11.98 kB / 0.7093 GB, free: 14.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01423, allocations: 4 kB / 0.7094 GB, free: 14.29 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01423, allocations: 0 / 0.7094 GB, free: 14.29 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.01509, allocations: 0.5028 MB / 0.7098 GB, free: 13.76 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.01513, allocations: 15.86 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.01519, allocations: 12 kB / 0.7099 GB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.01536, allocations: 11.98 kB / 0.7099 GB, free: 13.72 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.01545, allocations: 27.94 kB / 0.7099 GB, free: 13.69 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.01547, allocations: 12 kB / 0.7099 GB, free: 13.68 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000173/0.01564, allocations: 160.4 kB / 0.7101 GB, free: 13.52 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01564, allocations: 3.938 kB / 0.7101 GB, free: 13.52 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003001/0.01594, allocations: 52 kB / 0.7101 GB, free: 13.47 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.0001428/0.01609, allocations: 109.4 kB / 0.7102 GB, free: 13.36 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.01675, allocations: 376 kB / 0.7106 GB, free: 12.95 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01676, allocations: 4.062 kB / 0.7106 GB, free: 12.94 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.01705, allocations: 173 kB / 0.7108 GB, free: 12.75 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.01753, allocations: 76.12 kB / 0.7108 GB, free: 12.68 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.01876, allocations: 0.5703 MB / 0.7114 GB, free: 12.08 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.0189, allocations: 125.6 kB / 0.7115 GB, free: 11.94 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.672e-05/0.019, allocations: 21.94 kB / 0.7115 GB, free: 11.91 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.01906, allocations: 24.5 kB / 0.7115 GB, free: 11.89 MB / 426.8 MB Notification: Performance of SimCode: time 5.21e-07/0.01906, allocations: 0 / 0.7115 GB, free: 11.89 MB / 426.8 MB Notification: Performance of Templates: time 0.00823/0.02729, allocations: 3.328 MB / 0.7148 GB, free: 8.672 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.Crotoxin.Crotoxin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.72914960491471]