Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.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.000763/0.000763, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001676, 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.0007039/0.0007039, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008379/0.001542, 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.9572/0.9572, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.045, 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.7237/0.7237, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03016/0.7539, allocations: 21.04 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.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5446 GB, free: 30.36 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.194e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference): time 0.002782/0.002794, allocations: 2.479 MB / 0.547 GB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.007401, allocations: 6.696 MB / 0.5536 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.007491, allocations: 0 / 0.5536 GB, free: 21.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.00757, allocations: 27.7 kB / 0.5536 GB, free: 21.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.007734, allocations: 87.27 kB / 0.5537 GB, free: 21.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.007876, allocations: 47.94 kB / 0.5537 GB, free: 20.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.008108, allocations: 266.6 kB / 0.554 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.008234, allocations: 50.47 kB / 0.554 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.008439, allocations: 176.1 kB / 0.5542 GB, free: 20.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.008623, allocations: 87.72 kB / 0.5543 GB, free: 20.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.008655, allocations: 16 kB / 0.5543 GB, free: 20.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.199e-05/0.008687, allocations: 16 kB / 0.5543 GB, free: 20.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.008719, allocations: 27.88 kB / 0.5543 GB, free: 20.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.008789, allocations: 63.88 kB / 0.5544 GB, free: 20.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.008975, allocations: 143.5 kB / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.008987, allocations: 0 / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.008988, allocations: 0 / 0.5545 GB, free: 20.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.009002, allocations: 4 kB / 0.5545 GB, free: 20.16 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.0006619/0.009664, allocations: 0.4975 MB / 0.555 GB, free: 19.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.009698, allocations: 11.89 kB / 0.555 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.009753, allocations: 28.91 kB / 0.5551 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.009927, allocations: 174.2 kB / 0.5552 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.009949, allocations: 16.55 kB / 0.5552 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.009978, allocations: 12.38 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.01017, allocations: 159.5 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.01018, allocations: 7.969 kB / 0.5554 GB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.01019, allocations: 4 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.0102, allocations: 4 kB / 0.5554 GB, free: 19.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.499e-05/0.01029, allocations: 76.64 kB / 0.5555 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.01073, allocations: 365 kB / 0.5558 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.01094, allocations: 104.2 kB / 0.5559 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/0.01099, allocations: 62.53 kB / 0.556 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.011, allocations: 4 kB / 0.556 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.01118, allocations: 196.3 kB / 0.5562 GB, free: 18.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01118, allocations: 0 / 0.5562 GB, free: 18.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006898/0.01187, allocations: 0.5187 MB / 0.5567 GB, free: 17.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.01191, allocations: 162.2 kB / 0.5569 GB, free: 17.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01205, allocations: 206.1 kB / 0.557 GB, free: 17.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.01207, allocations: 37.7 kB / 0.5571 GB, free: 17.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.01211, allocations: 120.4 kB / 0.5572 GB, free: 17.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.01216, allocations: 63.42 kB / 0.5573 GB, free: 17.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.01223, allocations: 63.11 kB / 0.5573 GB, free: 17.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.01227, allocations: 338.8 kB / 0.5576 GB, free: 16.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.01234, allocations: 93.02 kB / 0.5577 GB, free: 16.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.01243, allocations: 173.3 kB / 0.5579 GB, free: 16.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.01256, allocations: 215 kB / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01256, allocations: 0 / 0.5581 GB, free: 16.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002025/0.01276, allocations: 260.2 kB / 0.5583 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.0128, allocations: 67.39 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.0128, allocations: 4 kB / 0.5584 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.01281, allocations: 4.219 kB / 0.5584 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.01301, allocations: 69.86 kB / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01302, allocations: 0 / 0.5585 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01313, allocations: 19.94 kB / 0.5585 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01314, allocations: 11.98 kB / 0.5585 GB, free: 15.64 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.0001082/0.01325, allocations: 170.8 kB / 0.5587 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.01328, allocations: 23.97 kB / 0.5587 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.01332, allocations: 25.97 kB / 0.5587 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01332, allocations: 7.938 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01332, allocations: 0 / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01332, allocations: 3.984 kB / 0.5587 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.01363, allocations: 362.3 kB / 0.5591 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01364, allocations: 7.938 kB / 0.5591 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.0138, allocations: 43.91 kB / 0.5591 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01383, allocations: 23.8 kB / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01383, allocations: 0 / 0.5592 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.01385, allocations: 11.98 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01385, allocations: 4 kB / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01385, allocations: 0 / 0.5592 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2679/0.2818, allocations: 340.8 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2818, allocations: 9.625 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2819, allocations: 11.67 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.282, allocations: 24.23 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.282, allocations: 5.438 kB / 0.5595 GB, free: 79.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.2821, allocations: 61.92 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2821, allocations: 0.5312 kB / 0.5596 GB, free: 79.41 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002077/0.2823, allocations: 59.23 kB / 0.5597 GB, free: 79.41 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.0001074/0.2824, allocations: 93.11 kB / 0.5598 GB, free: 79.34 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2826, allocations: 312.1 kB / 0.56 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.2826, allocations: 2.781 kB / 0.5601 GB, free: 79.11 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.988e-05/0.2827, allocations: 155.5 kB / 0.5602 GB, free: 79.01 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.283, allocations: 89.16 kB / 0.5603 GB, free: 79.01 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005585/0.2886, allocations: 0.5509 MB / 0.5608 GB, free: 78.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.2887, allocations: 80.55 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.2888, allocations: 27.42 kB / 0.5609 GB, free: 78.68 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2889, allocations: 122.9 kB / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of SimCode: time 1.433e-06/0.2889, allocations: 0 / 0.561 GB, free: 78.63 MB / 410.8 MB Notification: Performance of Templates: time 0.006596/0.2955, allocations: 3.807 MB / 0.5648 GB, free: 78.42 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02K_OtherAntihypertensives.C02KX02_Ambrisentan.Ambrisentan_Hill2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6208604238927364]