Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.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.0007767/0.0007767, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.001716, 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.0007447/0.0007447, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000928/0.001673, 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 0.9766/0.9766, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08187/1.058, allocations: 53.67 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.7508/0.7508, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02758/0.7784, allocations: 21.04 MB / 0.5432 GB, free: 31.75 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.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.402e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux): time 0.00196/0.001974, allocations: 2.507 MB / 0.5471 GB, free: 27.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.005764, allocations: 6.684 MB / 0.5536 GB, free: 21.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.005869, allocations: 0 / 0.5536 GB, free: 21.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.086e-05/0.00593, allocations: 27.72 kB / 0.5536 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.006069, allocations: 95.25 kB / 0.5537 GB, free: 21.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.006205, allocations: 43.94 kB / 0.5538 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.006401, allocations: 266.6 kB / 0.554 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.006503, allocations: 46.47 kB / 0.5541 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.006669, allocations: 176.1 kB / 0.5542 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.006828, allocations: 83.78 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.006853, allocations: 16 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.006877, allocations: 24 kB / 0.5543 GB, free: 20.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.0069, allocations: 27.88 kB / 0.5544 GB, free: 20.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.006953, allocations: 59.88 kB / 0.5544 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.007103, allocations: 135.5 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.007114, allocations: 3.938 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.007114, allocations: 3.938 kB / 0.5546 GB, free: 20.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.007124, allocations: 4 kB / 0.5546 GB, free: 20.14 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.000502/0.007626, allocations: 0.4976 MB / 0.5551 GB, free: 19.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.007653, allocations: 15.89 kB / 0.5551 GB, free: 19.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/0.007691, allocations: 28.23 kB / 0.5551 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.007824, allocations: 175.1 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.00784, allocations: 16.55 kB / 0.5553 GB, free: 19.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.007863, allocations: 12.38 kB / 0.5553 GB, free: 19.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.008007, allocations: 159.5 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.008016, allocations: 0 / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.008026, allocations: 8 kB / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008034, allocations: 0 / 0.5554 GB, free: 19.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.008107, allocations: 76.7 kB / 0.5555 GB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.008452, allocations: 376.9 kB / 0.5559 GB, free: 18.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.008597, allocations: 112.1 kB / 0.556 GB, free: 18.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.00863, allocations: 58.55 kB / 0.556 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.008638, allocations: 4 kB / 0.556 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.008762, allocations: 187.4 kB / 0.5562 GB, free: 18.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.012e-06/0.008763, allocations: 3.938 kB / 0.5562 GB, free: 18.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005019/0.009265, allocations: 0.5123 MB / 0.5567 GB, free: 17.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.009303, allocations: 170.2 kB / 0.5569 GB, free: 17.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.009391, allocations: 198.1 kB / 0.5571 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.009403, allocations: 33.7 kB / 0.5571 GB, free: 17.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.009437, allocations: 116.4 kB / 0.5572 GB, free: 17.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.00947, allocations: 83.33 kB / 0.5573 GB, free: 17.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.009522, allocations: 47.19 kB / 0.5573 GB, free: 17.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.009556, allocations: 338.8 kB / 0.5577 GB, free: 16.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.009604, allocations: 101 kB / 0.5578 GB, free: 16.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.009664, allocations: 171.8 kB / 0.5579 GB, free: 16.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.286e-05/0.009757, allocations: 213.5 kB / 0.5581 GB, free: 16.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.009759, allocations: 0 / 0.5581 GB, free: 16.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001462/0.009905, allocations: 264.3 kB / 0.5584 GB, free: 15.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.009935, allocations: 59.41 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.009939, allocations: 4 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.009948, allocations: 4 kB / 0.5585 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.0101, allocations: 63.89 kB / 0.5585 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.0101, allocations: 4 kB / 0.5585 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/0.01018, allocations: 24.14 kB / 0.5585 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01019, allocations: 12 kB / 0.5586 GB, free: 15.62 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 9.907e-05/0.01029, allocations: 176.8 kB / 0.5587 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.01031, allocations: 19.98 kB / 0.5587 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.01034, allocations: 21.95 kB / 0.5588 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01034, allocations: 4 kB / 0.5588 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01034, allocations: 3.938 kB / 0.5588 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01034, allocations: 0 / 0.5588 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.01058, allocations: 385.1 kB / 0.5591 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01058, allocations: 3.938 kB / 0.5591 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.01069, allocations: 39.91 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01071, allocations: 19.86 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01071, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.01072, allocations: 8 kB / 0.5592 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01072, allocations: 0 / 0.5592 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01072, allocations: 0 / 0.5592 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2611/0.2718, allocations: 341.7 kB / 0.5595 GB, free: 79.3 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.2719, allocations: 11.12 kB / 0.5595 GB, free: 79.3 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.272, allocations: 12.58 kB / 0.5596 GB, free: 79.3 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.2721, allocations: 21.89 kB / 0.5596 GB, free: 79.3 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2721, allocations: 6.344 kB / 0.5596 GB, free: 79.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.2722, allocations: 67.92 kB / 0.5596 GB, free: 79.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.2722, allocations: 3.406 kB / 0.5596 GB, free: 79.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002305/0.2724, allocations: 55.31 kB / 0.5597 GB, free: 79.29 MB / 410.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.000148/0.2726, allocations: 91.89 kB / 0.5598 GB, free: 79.22 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.2728, allocations: 306.2 kB / 0.5601 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/0.2728, allocations: 6.828 kB / 0.5601 GB, free: 79 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.273, allocations: 157.9 kB / 0.5602 GB, free: 78.89 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2733, allocations: 86.95 kB / 0.5603 GB, free: 78.89 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005485/0.2788, allocations: 0.5571 MB / 0.5609 GB, free: 78.63 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.2788, allocations: 80.64 kB / 0.5609 GB, free: 78.56 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.2789, allocations: 30.44 kB / 0.561 GB, free: 78.56 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.2791, allocations: 118.8 kB / 0.5611 GB, free: 78.51 MB / 410.8 MB Notification: Performance of SimCode: time 8.91e-07/0.2791, allocations: 0 / 0.5611 GB, free: 78.51 MB / 410.8 MB Notification: Performance of Templates: time 0.00612/0.2852, allocations: 3.783 MB / 0.5648 GB, free: 78.33 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.54212508443743]