Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.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.002088/0.002088, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.00255/0.00255, allocations: 220.6 kB / 22.25 MB, free: 3.574 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.82/1.82, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.51/1.51, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid") translateModel(Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid") [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.005389/0.005389, allocations: 77.42 kB / 0.775 GB, free: 14.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.205, allocations: 73.99 MB / 0.8472 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid): time 0.004483/0.2095, allocations: 2.292 MB / 0.8495 GB, free: 2.574 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4198/0.6292, allocations: 6.522 MB / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.6295, allocations: 1.156 kB / 0.8558 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.6297, allocations: 27.31 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.6301, allocations: 82 kB / 0.8559 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.6303, allocations: 51.66 kB / 0.856 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.6307, allocations: 261.8 kB / 0.8562 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.6309, allocations: 35.27 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.6311, allocations: 97.41 kB / 0.8564 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.6314, allocations: 101.5 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.6314, allocations: 17.16 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.572e-05/0.6315, allocations: 19 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.6315, allocations: 37.94 kB / 0.8565 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.6317, allocations: 91.16 kB / 0.8566 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.632, allocations: 199.8 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.632, allocations: 2.031 kB / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.845e-06/0.632, allocations: 0 / 0.8568 GB, free: 21.85 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.632, allocations: 0 / 0.8568 GB, free: 21.85 MB / 490.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.001035/0.6331, allocations: 498.4 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6331, allocations: 8.812 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.6332, allocations: 26.42 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.6335, allocations: 187.4 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.6335, allocations: 13.77 kB / 0.8575 GB, free: 21.28 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.6336, allocations: 22.05 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.634, allocations: 186.8 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.634, allocations: 1.719 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.634, allocations: 4.781 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.634, allocations: 3.188 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.6344, allocations: 152.6 kB / 0.8579 GB, free: 21.16 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.6351, allocations: 482.5 kB / 0.8583 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.6356, allocations: 174.1 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.6358, allocations: 95.14 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.6358, allocations: 2.594 kB / 0.8586 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.6362, allocations: 229 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.6362, allocations: 0.625 kB / 0.8588 GB, free: 20.62 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001416/0.6376, allocations: 0.6963 MB / 0.8595 GB, free: 20.26 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.6376, allocations: 139.4 kB / 0.8596 GB, free: 20.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6379, allocations: 216.8 kB / 0.8598 GB, free: 20 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.6379, allocations: 33.48 kB / 0.8599 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/0.638, allocations: 134.7 kB / 0.86 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.638, allocations: 73.7 kB / 0.8601 GB, free: 19.83 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.332e-05/0.6381, allocations: 54.27 kB / 0.8601 GB, free: 19.81 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.6382, allocations: 336.1 kB / 0.8604 GB, free: 19.5 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.6384, allocations: 144.4 kB / 0.8606 GB, free: 19.42 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.6387, allocations: 226.7 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.6391, allocations: 284.1 kB / 0.8611 GB, free: 19.09 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6391, allocations: 7.875 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005681/0.6397, allocations: 384.2 kB / 0.8614 GB, free: 18.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6397, allocations: 63.25 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6397, allocations: 7.875 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6397, allocations: 4.312 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.6399, allocations: 50.25 kB / 0.8616 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.64, allocations: 8.844 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6401, allocations: 22.58 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.6402, allocations: 8.094 kB / 0.8616 GB, free: 18.83 MB / 490.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.0001723/0.6403, allocations: 176.1 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.6404, allocations: 22.78 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.954e-05/0.6404, allocations: 27.16 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.6404, allocations: 7.094 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.6404, allocations: 0.7188 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.6404, allocations: 4.531 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.6412, allocations: 0.5396 MB / 0.8623 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6412, allocations: 0.6562 kB / 0.8623 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.6414, allocations: 34.77 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6414, allocations: 4.656 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6414, allocations: 7.125 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6414, allocations: 7.375 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6414, allocations: 0 / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.6421, allocations: 0.4902 MB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.6421, allocations: 15.52 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.6421, allocations: 8.469 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.6423, allocations: 14.95 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.6424, allocations: 22.16 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6424, allocations: 7.531 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001532/0.6426, allocations: 158.7 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.6426, allocations: 5.25 kB / 0.8631 GB, free: 18.01 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003145/0.6429, allocations: 59.97 kB / 0.8632 GB, free: 18 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 0.0001367/0.643, allocations: 115.6 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005902/0.6436, allocations: 383.1 kB / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6436, allocations: 0 / 0.8636 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.6439, allocations: 176 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.6444, allocations: 75.94 kB / 0.8639 GB, free: 17.57 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.6459, allocations: 0.6838 MB / 0.8645 GB, free: 17.26 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.6461, allocations: 123.4 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.6462, allocations: 24.47 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.6463, allocations: 23.66 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of SimCode: time 1.183e-06/0.6463, allocations: 0 / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of Templates: time 0.009185/0.6555, allocations: 3.624 MB / 0.8682 GB, free: 16.85 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.V_Various.V04C_OtherDiagnosticAgents.V04CH30_AminohippuricAcid.AminohippuricAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.902036372106522]