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.0006978/0.0006978, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008952/0.001593, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007116/0.0007116, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.001619, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.987/0.987, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09613/1.083, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.7841/0.7841, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0359/0.82, allocations: 21.04 MB / 0.5433 GB, free: 31.48 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.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: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.639e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.SebacicAcid.SebacicAcid): time 0.003439/0.003465, allocations: 2.532 MB / 0.5472 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007875/0.004253, allocations: 0.631 MB / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.004343, allocations: 0 / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.004402, allocations: 23.72 kB / 0.5478 GB, free: 26.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.004527, allocations: 87.27 kB / 0.5479 GB, free: 26.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.004648, allocations: 55.86 kB / 0.548 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.00482, allocations: 266.6 kB / 0.5482 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.654e-05/0.004906, allocations: 38.48 kB / 0.5483 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.005067, allocations: 184.1 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.005205, allocations: 91.7 kB / 0.5485 GB, free: 26.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.005227, allocations: 16 kB / 0.5485 GB, free: 26.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.00525, allocations: 16 kB / 0.5486 GB, free: 26.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.005274, allocations: 27.88 kB / 0.5486 GB, free: 26.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.005328, allocations: 63.88 kB / 0.5486 GB, free: 26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.005459, allocations: 131.5 kB / 0.5488 GB, free: 25.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.005469, allocations: 0 / 0.5488 GB, free: 25.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00547, allocations: 0 / 0.5488 GB, free: 25.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.005478, allocations: 0 / 0.5488 GB, free: 25.87 MB / 410.7 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.0004845/0.005962, allocations: 0.4976 MB / 0.5492 GB, free: 25.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.005989, allocations: 15.88 kB / 0.5493 GB, free: 25.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.006029, allocations: 24.92 kB / 0.5493 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.00617, allocations: 175.1 kB / 0.5495 GB, free: 25.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.006188, allocations: 11.98 kB / 0.5495 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.006211, allocations: 16.38 kB / 0.5495 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.006366, allocations: 163.4 kB / 0.5496 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.006375, allocations: 7.938 kB / 0.5496 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.006384, allocations: 4 kB / 0.5496 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.00639, allocations: 4 kB / 0.5497 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.006459, allocations: 74.58 kB / 0.5497 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.006796, allocations: 368.9 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.006952, allocations: 112 kB / 0.5502 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.006986, allocations: 58.55 kB / 0.5502 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.006993, allocations: 8 kB / 0.5502 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.007121, allocations: 188.4 kB / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.007123, allocations: 0 / 0.5504 GB, free: 24.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005499/0.007673, allocations: 0.5114 MB / 0.5509 GB, free: 23.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.007707, allocations: 166.2 kB / 0.5511 GB, free: 23.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.007799, allocations: 206.1 kB / 0.5513 GB, free: 23.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.007815, allocations: 33.7 kB / 0.5513 GB, free: 22.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.007851, allocations: 116.4 kB / 0.5514 GB, free: 22.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.007885, allocations: 75.39 kB / 0.5515 GB, free: 22.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.007934, allocations: 55.12 kB / 0.5515 GB, free: 22.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.007981, allocations: 334.8 kB / 0.5519 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.008037, allocations: 97 kB / 0.552 GB, free: 22.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.008106, allocations: 177.3 kB / 0.5521 GB, free: 22.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.008228, allocations: 227.7 kB / 0.5523 GB, free: 21.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008229, allocations: 0 / 0.5523 GB, free: 21.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001704/0.0084, allocations: 258.7 kB / 0.5526 GB, free: 21.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.008434, allocations: 59.41 kB / 0.5526 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.00844, allocations: 6.734 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008454, allocations: 4.219 kB / 0.5527 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.008625, allocations: 71.89 kB / 0.5527 GB, free: 21.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.00863, allocations: 4 kB / 0.5527 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.008708, allocations: 19.92 kB / 0.5528 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.008718, allocations: 8 kB / 0.5528 GB, free: 21.34 MB / 410.7 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.0001009/0.008819, allocations: 168 kB / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.008841, allocations: 23.05 kB / 0.5529 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.008869, allocations: 29.95 kB / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008871, allocations: 4 kB / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.008874, allocations: 0 / 0.553 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008878, allocations: 3.984 kB / 0.553 GB, free: 21.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.009144, allocations: 378.2 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.009148, allocations: 3.938 kB / 0.5533 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.009285, allocations: 35.97 kB / 0.5534 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.009308, allocations: 19.86 kB / 0.5534 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009311, allocations: 3.938 kB / 0.5534 GB, free: 20.63 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.009326, allocations: 12 kB / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009327, allocations: 0 / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.009329, allocations: 0 / 0.5534 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.009519, allocations: 356 kB / 0.5537 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.009541, allocations: 4 kB / 0.5538 GB, free: 20.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.009615, allocations: 11.98 kB / 0.5538 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.009661, allocations: 23.95 kB / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.00967, allocations: 7.938 kB / 0.5538 GB, free: 20.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.009715, allocations: 65.94 kB / 0.5539 GB, free: 20.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.009715, allocations: 0 / 0.5539 GB, free: 20.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.009881, allocations: 60 kB / 0.5539 GB, free: 20.07 MB / 410.7 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.145e-05/0.009973, allocations: 91.48 kB / 0.554 GB, free: 19.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.01015, allocations: 300.7 kB / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.01016, allocations: 0 / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.01023, allocations: 165.7 kB / 0.5544 GB, free: 19.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.01057, allocations: 0.5084 MB / 0.5549 GB, free: 18.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.01584, allocations: 0.5549 MB / 0.5555 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.01588, allocations: 80.33 kB / 0.5556 GB, free: 18.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.01597, allocations: 25.97 kB / 0.5556 GB, free: 18.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.01611, allocations: 115.3 kB / 0.5557 GB, free: 18.03 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01611, allocations: 0 / 0.5557 GB, free: 18.03 MB / 410.7 MB Notification: Performance of Templates: time 0.263/0.2791, allocations: 3.776 MB / 0.5594 GB, free: 84.67 MB / 410.8 MB " [Timeout remaining time 660] 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: 3.5537039348855615]