Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.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.00103/0.00103, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002367, allocations: 455.9 kB / 10.35 MB, free: 348 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.0009341/0.0009341, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00215/0.003084, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.151, allocations: 53.68 MB / 243.3 MB, free: 15.57 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.9328/0.9328, allocations: 291.2 MB / 0.5227 GB, free: 52.71 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04699/0.9798, allocations: 21.05 MB / 0.5432 GB, free: 31.73 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.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 0.5447 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.829e-05, allocations: 6.25 kB / 0.5447 GB, free: 30.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone): time 0.002307/0.002335, allocations: 1.953 MB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.003062, allocations: 0.573 MB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.003129, allocations: 3.938 kB / 0.5471 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.639e-05/0.003195, allocations: 11.86 kB / 0.5471 GB, free: 27.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.003507, allocations: 71.55 kB / 0.5472 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.003693, allocations: 63.77 kB / 0.5473 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.003948, allocations: 168 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.663e-05/0.004014, allocations: 17.89 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.004241, allocations: 111.8 kB / 0.5476 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.004555, allocations: 71.83 kB / 0.5476 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004589, allocations: 8 kB / 0.5476 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.004617, allocations: 8 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.004683, allocations: 23.88 kB / 0.5477 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.004751, allocations: 27.94 kB / 0.5477 GB, free: 27.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004907, allocations: 83.67 kB / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.004923, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004925, allocations: 0 / 0.5478 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.00494, allocations: 0 / 0.5478 GB, free: 27.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007015/0.005641, allocations: 388.2 kB / 0.5481 GB, free: 26.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.005689, allocations: 11.89 kB / 0.5481 GB, free: 26.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.005732, allocations: 12.92 kB / 0.5482 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.005911, allocations: 160.9 kB / 0.5483 GB, free: 26.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.005939, allocations: 8.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.005975, allocations: 8.375 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.006146, allocations: 80.97 kB / 0.5484 GB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.006157, allocations: 11.92 kB / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.006167, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.006175, allocations: 0 / 0.5484 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.006239, allocations: 19.98 kB / 0.5484 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.006622, allocations: 193.9 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.006747, allocations: 118.9 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.006779, allocations: 24.8 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.006801, allocations: 8 kB / 0.5488 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.006941, allocations: 94.22 kB / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.006943, allocations: 0 / 0.5489 GB, free: 25.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001686/0.007112, allocations: 89.66 kB / 0.5489 GB, free: 25.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.007152, allocations: 55.34 kB / 0.549 GB, free: 25.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007256, allocations: 150.6 kB / 0.5491 GB, free: 25.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007271, allocations: 29.7 kB / 0.5492 GB, free: 25.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.007313, allocations: 96.06 kB / 0.5493 GB, free: 25.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.007341, allocations: 43.62 kB / 0.5493 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.00739, allocations: 45.62 kB / 0.5493 GB, free: 25.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.007442, allocations: 322.8 kB / 0.5496 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.007486, allocations: 44.53 kB / 0.5497 GB, free: 24.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.007554, allocations: 162.1 kB / 0.5498 GB, free: 24.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.078e-05/0.007624, allocations: 87.44 kB / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.007627, allocations: 0 / 0.5499 GB, free: 24.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001212/0.007749, allocations: 151.8 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.007793, allocations: 29.7 kB / 0.5501 GB, free: 24.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.007799, allocations: 3.984 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.00781, allocations: 4 kB / 0.5501 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.007946, allocations: 31.98 kB / 0.5501 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.007952, allocations: 7.984 kB / 0.5501 GB, free: 24.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.008021, allocations: 8 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.008032, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 7.194e-05/0.008104, allocations: 132.5 kB / 0.5503 GB, free: 24.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.008119, allocations: 11.94 kB / 0.5503 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.00826, allocations: 90.42 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008262, allocations: 4 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008266, allocations: 4.203 kB / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.00827, allocations: 0 / 0.5504 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.008357, allocations: 109.7 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.00836, allocations: 3.25 kB / 0.5505 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.008465, allocations: 27.92 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.008483, allocations: 7.953 kB / 0.5505 GB, free: 24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.008486, allocations: 7.938 kB / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.0085, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.008502, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.008504, allocations: 0 / 0.5505 GB, free: 23.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.008668, allocations: 138.7 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.008687, allocations: 3.938 kB / 0.5507 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.00874, allocations: 20.02 kB / 0.5507 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.008788, allocations: 7.984 kB / 0.5507 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.008796, allocations: 7.984 kB / 0.5507 GB, free: 23.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.008829, allocations: 39.94 kB / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008829, allocations: 0 / 0.5508 GB, free: 23.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001105/0.00894, allocations: 32 kB / 0.5508 GB, free: 23.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q[1],qAbsorbed) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001052/0.009045, allocations: 96.28 kB / 0.5509 GB, free: 23.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.009185, allocations: 145.9 kB / 0.551 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.009192, allocations: 4 kB / 0.551 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.009246, allocations: 41.59 kB / 0.5511 GB, free: 23.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.009426, allocations: 57.56 kB / 0.5511 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.01211, allocations: 354.1 kB / 0.5514 GB, free: 22.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436e-05/0.01215, allocations: 71.83 kB / 0.5515 GB, free: 22.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.01222, allocations: 17.47 kB / 0.5515 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.01235, allocations: 95.34 kB / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.01235, allocations: 0 / 0.5516 GB, free: 22.79 MB / 410.7 MB Notification: Performance of Templates: time 0.004693/0.01704, allocations: 2.732 MB / 0.5543 GB, free: 20.12 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.D_18Hydroxycorticosterone.D_18Hydroxycorticosterone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5246743904426694]