Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.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.001987/0.001987, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.002238/0.002238, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.703/1.703, allocations: 230.6 MB / 256 MB, free: 9.598 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.452/1.452, allocations: 316.7 MB / 0.6144 GB, free: 93.39 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.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid") [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.00386/0.00386, allocations: 73.98 kB / 0.775 GB, free: 14.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1509, allocations: 73.99 MB / 0.8472 GB, free: 5.027 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid): time 0.004711/0.1556, allocations: 2.334 MB / 0.8495 GB, free: 2.691 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1569, allocations: 0.5949 MB / 0.8501 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.157, allocations: 0.5 kB / 0.8501 GB, free: 2.102 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1571, allocations: 32.42 kB / 0.8501 GB, free: 2.07 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1574, allocations: 75.89 kB / 0.8502 GB, free: 1.996 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1576, allocations: 48.52 kB / 0.8502 GB, free: 1.949 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.158, allocations: 259.2 kB / 0.8505 GB, free: 1.695 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1581, allocations: 33.27 kB / 0.8505 GB, free: 1.664 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.1583, allocations: 95.64 kB / 0.8506 GB, free: 1.57 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.1586, allocations: 100.1 kB / 0.8507 GB, free: 1.473 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1586, allocations: 20.5 kB / 0.8507 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.495e-05/0.1586, allocations: 16.69 kB / 0.8507 GB, free: 1.438 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1587, allocations: 43.77 kB / 0.8508 GB, free: 1.395 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1588, allocations: 96.09 kB / 0.8509 GB, free: 1.301 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1591, allocations: 191.2 kB / 0.8511 GB, free: 1.113 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1592, allocations: 4.719 kB / 0.8511 GB, free: 1.109 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1592, allocations: 0 / 0.8511 GB, free: 1.109 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1592, allocations: 0.625 kB / 0.8511 GB, free: 1.109 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.001044/0.1602, allocations: 0.4907 MB / 0.8515 GB, free: 0.5742 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1602, allocations: 8.656 kB / 0.8515 GB, free: 0.5664 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1603, allocations: 24.8 kB / 0.8516 GB, free: 0.543 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.1606, allocations: 179.8 kB / 0.8517 GB, free: 348 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1606, allocations: 12.61 kB / 0.8518 GB, free: 336 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.1607, allocations: 20.58 kB / 0.8518 GB, free: 316 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.1611, allocations: 194.8 kB / 0.852 GB, free: 108 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1611, allocations: 4.5 kB / 0.852 GB, free: 104 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1612, allocations: 4 kB / 0.852 GB, free: 100 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1612, allocations: 4.719 kB / 0.852 GB, free: 96 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.1616, allocations: 147.4 kB / 0.8521 GB, free: 15.95 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009217/0.1625, allocations: 491.5 kB / 0.8526 GB, free: 15.43 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.163, allocations: 168.2 kB / 0.8527 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1632, allocations: 95.11 kB / 0.8528 GB, free: 15.15 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1632, allocations: 5.688 kB / 0.8528 GB, free: 15.15 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004241/0.1637, allocations: 224.5 kB / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.1637, allocations: 0 / 0.8531 GB, free: 14.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001708/0.1654, allocations: 0.7047 MB / 0.8537 GB, free: 14.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1655, allocations: 144.4 kB / 0.8539 GB, free: 13.96 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1658, allocations: 215 kB / 0.8541 GB, free: 13.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.1658, allocations: 33.7 kB / 0.8541 GB, free: 13.71 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.1662, allocations: 128.5 kB / 0.8542 GB, free: 13.58 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.1663, allocations: 72.61 kB / 0.8543 GB, free: 13.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.1664, allocations: 57.66 kB / 0.8544 GB, free: 13.45 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1666, allocations: 334.8 kB / 0.8547 GB, free: 13.11 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.1669, allocations: 146.7 kB / 0.8548 GB, free: 12.95 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/0.1672, allocations: 225.3 kB / 0.855 GB, free: 12.68 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.1677, allocations: 281.6 kB / 0.8553 GB, free: 12.37 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1677, allocations: 0 / 0.8553 GB, free: 12.37 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.3519/0.5197, allocations: 386.2 kB / 0.8557 GB, free: 28.28 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.5197, allocations: 70.59 kB / 0.8557 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.5197, allocations: 1.875 kB / 0.8557 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5198, allocations: 4.406 kB / 0.8557 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.5201, allocations: 49.69 kB / 0.8558 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.5201, allocations: 4.75 kB / 0.8558 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.5203, allocations: 18.97 kB / 0.8558 GB, free: 28.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.5204, allocations: 14.41 kB / 0.8558 GB, free: 28.21 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.0002151/0.5206, allocations: 171.5 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.5206, allocations: 28.44 kB / 0.856 GB, free: 28.07 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.5207, allocations: 23.16 kB / 0.856 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5207, allocations: 3.938 kB / 0.856 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5207, allocations: 3.188 kB / 0.856 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5207, allocations: 1.922 kB / 0.8561 GB, free: 28.06 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000928/0.5216, allocations: 0.5382 MB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5216, allocations: 0.8125 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.5219, allocations: 32.67 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5219, allocations: 3.781 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.5219, allocations: 7.141 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5219, allocations: 1.094 kB / 0.8566 GB, free: 27.77 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5219, allocations: 4.719 kB / 0.8566 GB, free: 27.76 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008889/0.5228, allocations: 0.4923 MB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.5229, allocations: 19.61 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.5229, allocations: 11 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5232, allocations: 15.19 kB / 0.8571 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.5233, allocations: 20.81 kB / 0.8572 GB, free: 27.54 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.5233, allocations: 7 kB / 0.8572 GB, free: 27.54 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000165/0.5235, allocations: 158.3 kB / 0.8573 GB, free: 27.46 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5235, allocations: 0.5938 kB / 0.8573 GB, free: 27.46 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004893/0.5239, allocations: 54.28 kB / 0.8574 GB, free: 27.46 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.0001204/0.5241, allocations: 112.5 kB / 0.8575 GB, free: 27.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007386/0.5248, allocations: 381.2 kB / 0.8579 GB, free: 27.15 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5248, allocations: 3.375 kB / 0.8579 GB, free: 27.15 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.5252, allocations: 171.8 kB / 0.858 GB, free: 27.06 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007927/0.526, allocations: 66.06 kB / 0.8581 GB, free: 27.05 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5276, allocations: 0.6805 MB / 0.8587 GB, free: 26.78 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.5277, allocations: 126.4 kB / 0.8589 GB, free: 26.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.5278, allocations: 24.22 kB / 0.8589 GB, free: 26.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.5279, allocations: 26.2 kB / 0.8589 GB, free: 26.69 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.5279, allocations: 0 / 0.8589 GB, free: 26.69 MB / 490.8 MB Notification: Performance of Templates: time 0.01055/0.5385, allocations: 3.631 MB / 0.8625 GB, free: 26.36 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.499763126950711]